Opened 14 years ago
Closed 13 years ago
#99 closed enhancement (fixed)
Filter by currency (Django 1.4)
| Reported by: | adehnert | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | Post Django 1.4 |
| Component: | Default | Version: | |
| Keywords: | Cc: | ||
| Size: | tiny |
Description
Django 1.4 supports customized list_filter filters. Once it becomes available, we should use this to easily filter the various start/end time things (OfficeHolder?, SpaceAccessListEntry?, etc.) by whether an item is current or not.
See https://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-options, list_filter docs.
Change History (2)
comment:1 Changed 14 years ago by adehnert
- Milestone changed from Sometime to Post Django 1.4
- Priority changed from major to minor
comment:2 Changed 13 years ago by adehnert
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Fixed in commit 358b26fcc199aa70801bc10dbb4a8e021b9340de:
Author: Alex Dehnert <adehnert@mit.edu> Date: Mon Feb 11 03:33:07 2013 -0500 Filter by whether an item is current (ASA-#99) OfficeHolder, SpaceAccessListEntry, and SpaceAssignment all track a start and end time for each of their records. This allows filtering in the admin by whether a record was previously valid, is currently valid, or will be valid in the future.