mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-25 14:50:24 +00:00
fix: command log search (#7906)
Co-authored-by: feng626 <1304903146@qq.com>
This commit is contained in:
@@ -105,6 +105,7 @@ class CommandViewSet(JMSBulkModelViewSet):
|
||||
command_store = get_command_storage()
|
||||
serializer_class = SessionCommandSerializer
|
||||
filterset_class = CommandFilter
|
||||
search_fields = ('input',)
|
||||
model = Command
|
||||
ordering_fields = ('timestamp', )
|
||||
|
||||
|
Reference in New Issue
Block a user