summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/admin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/admin.py b/main/admin.py
index e5da9fb9..783d07e4 100644
--- a/main/admin.py
+++ b/main/admin.py
@@ -24,7 +24,8 @@ class PackageAdmin(admin.ModelAdmin):
list_display = ('pkgname', 'full_version', 'repo', 'arch', 'packager',
'last_update', 'build_date')
list_filter = ('repo', 'arch')
- search_fields = ('pkgname',)
+ search_fields = ('pkgname', 'pkgbase', 'pkgdesc')
+ date_hierarchy = 'build_date'
class TodolistAdmin(admin.ModelAdmin):
list_display = ('name', 'date_added', 'creator', 'description')