search in items, more

This commit is contained in:
Thomas NOËL 2011-04-22 10:21:49 +02:00
parent 68ac25205d
commit 98ccb5276c
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class ItemAdmin(admin.ModelAdmin):
ordering = ['-add_date']
date_hierarchy = 'expire_date'
actions = ['mark_item', 'unmark_item']
search_fields = ['title', 'link']
search_fields = ['title', 'description', 'comments', 'link']
def mark_item(modeladmin, request, queryset):
queryset.update(mark=True)