Skip to content
This repository
Browse code

Entity tree list improvement

  • Loading branch information...
commit 77942a7b75530b27d64cb4153d3ca94f4c3f4be3 1 parent d6f9da6
Daniele Procida authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 contacts_and_people/admin.py
4 contacts_and_people/admin.py
@@ -348,7 +348,9 @@ class EntityAdmin(PersonAndEntityAdmin, TreeAdmin):
348 348 search_fields = ['name',]
349 349 form = EntityForm
350 350 list_display = ('name',)
351   - list_filter = (EntityIsExternal, 'abstract_entity')
  351 + list_filter = (EntityIsExternal, 'abstract_entity')
  352 + list_max_show_all = 400
  353 + list_per_page = 400
352 354 related_search_fields = ['parent', 'building', 'website', 'external_url',]
353 355 prepopulated_fields = {
354 356 'slug': ('name',)

0 comments on commit 77942a7

Please sign in to comment.
Something went wrong with that request. Please try again.