fix: command log search (#7906)

Co-authored-by: feng626 <1304903146@qq.com>
pull/7908/head
fit2bot 3 years ago committed by GitHub
parent b297ebe973
commit 9c395b674f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -105,6 +105,7 @@ class CommandViewSet(JMSBulkModelViewSet):
command_store = get_command_storage() command_store = get_command_storage()
serializer_class = SessionCommandSerializer serializer_class = SessionCommandSerializer
filterset_class = CommandFilter filterset_class = CommandFilter
search_fields = ('input',)
model = Command model = Command
ordering_fields = ('timestamp', ) ordering_fields = ('timestamp', )

Loading…
Cancel
Save