tickets: 4926
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4926 | 2007-07-19 14:45:13 | 2011-04-04 23:51:46 | 2022-03-06 03:32:59.689780 | Someday/Maybe | closed | contrib.admin | Bug | Normal | dev | duplicate | Ordering in admin listview ignores ordering in admin options | When I specify ordering in admin options like this: {{{ class ArticleOptions(admin.ModelAdmin): list_display = ('title', 'is_news', 'published_from_date') ordering = ('is_news', 'pub_date') }}} Ordering set default ordering column to 'is_news', but doesn't take 'pub_date' into account. Generally all other fields except first specified in ordering tuple are ignored. | nobody | Glin <glin@seznam.cz> | nfa-someday nfa-changelist | 0 | 1 | 0 | 0 | 0 | 0 |