Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#111 closed defect (duplicate)

Filtering doesn't clean up arguments

Reported by: Manuzhai Owned by: Adrian Holovaty
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When selecting different filters (DateTimeField-based, in this case), in order:

  • Today: ?datetimeday=20&datetimemonth=7&datetimeyear=2005
  • Then, past 7 days: ?datetimeday=20&datetimegte=2005-07-13&datetimemonth=7&datetimelte=2005-07-20%2023:59:59&datetimeyear=2005

It seems any new arguments should clean up arguments that concern the same field.

Change History (2)

comment:1 by Manuzhai, 19 years ago

Hmm, formatting mangled the URL's..

Today: ?datetime__day=20&datetime__month=7&datetime__year=2005
Then, past 7: ?datetime__day=20&datetime__gte=2005-07-13&datetime__month=7&datetime__lte=2005-07-20%2023:59:59&datetime__year=2005

comment:2 by Wilson Miner, 19 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #7

Note: See TracTickets for help on using tickets.
Back to Top