diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-14 15:56:20 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-14 15:56:20 -0500 |
commit | 3fe4b2189cd4c9741eebc0fa6ac131a5663be535 (patch) | |
tree | e39105cd1c159e2a71b7302409c5b6de5a821dbe /main | |
parent | ea04e4b3da76bbb74ec895a4995c6c2388146164 (diff) | |
parent | 604c748f8f8dee5e51e2ea5937d1be0b60fb0e7b (diff) |
Merge commit '604c748' (update)
Diffstat (limited to 'main')
-rw-r--r-- | main/admin.py | 3 |
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') |