summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-14 15:56:20 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-14 15:56:20 -0500
commit3fe4b2189cd4c9741eebc0fa6ac131a5663be535 (patch)
treee39105cd1c159e2a71b7302409c5b6de5a821dbe /main
parentea04e4b3da76bbb74ec895a4995c6c2388146164 (diff)
parent604c748f8f8dee5e51e2ea5937d1be0b60fb0e7b (diff)
Merge commit '604c748' (update)
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')