techcollective/mercury — Issue #98: invoice search chokes on leading zeros
Author: 3point2
Created: 2012-01-16 17:23:03+00:00
State: open
Labels: 0.11, defect

i want the search to match 00072 as well as 72. how to do this?

* i could search by a hidden field on invoice that stores the padded number
* i could patch the django search to try: q=str(int(q))