Skip to content

Commit

Permalink
perf: disable all query count
Browse files Browse the repository at this point in the history
  • Loading branch information
Slayug committed Jan 30, 2025
1 parent 59d3028 commit 63c715d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion agir/people/admin/panels.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ class PersonAdmin(
list_display_links = ("__str__",)
form = PersonAdminForm
list_per_page = 40
show_full_result_count = False
show_query_result_count = False

fieldsets = (
(
Expand Down Expand Up @@ -210,7 +212,7 @@ class PersonAdmin(
# doit être non vide pour afficher le formulaire de recherche,
# mais n'est en réalité pas utilisé pour déterminer les champs
# de recherche
search_fields = ["search", "contact_phone"]
search_fields = ["search"]

actions = (export_people_to_csv, bulk_add_tag)

Expand Down

0 comments on commit 63c715d

Please sign in to comment.