Skip to content

Commit

Permalink
add id to XForm admin search field
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-muchiri committed Nov 26, 2024
1 parent bf7dba2 commit 3d3d62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onadata/apps/logger/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class XFormAdmin(FilterByUserMixin, VersionAdmin, admin.ModelAdmin):

exclude = ("user",)
list_display = ("internal_id", "id_string", "project_id", "downloadable", "shared")
search_fields = ("id_string", "title", "project__id", "project__name")
search_fields = ("id", "id_string", "title", "project__id", "project__name")
user_lookup_field = "user"
actions = ["restore_form"]

Expand Down

0 comments on commit 3d3d62d

Please sign in to comment.