Lance Edgar
216807503a
Avoid encoding values as string, for integer grid filters
...
grid filter for Catapult Transaction "Status" was not working right b/c that is
an integer in the db, but we were passing encoded string value to SA / query
2021-02-20 08:45:15 -06:00
Lance Edgar
34623a7307
Add special "equal to any of" verb for UPC-related grid filters
2021-02-12 14:05:44 -06:00
Lance Edgar
89f0336af9
Add special "contains any of" verb for string-based grid filters
2021-02-12 13:57:54 -06:00
Lance Edgar
708641a8f1
Purge things for legacy (jquery) mobile, and unused template themes
...
gosh it feels good to get rid of this stuff... fingers crossed that nothing
was broken, but am thinking it's safe
2021-01-30 15:52:47 -06:00
Lance Edgar
0220e401cd
Add "is empty" and related verbs, for "string" type grid filters
2020-12-04 15:26:21 -06:00
Lance Edgar
c87a452471
Tweak how an "enum" grid filter is initialized
...
wasn't working quite right for Buefy theme
2020-11-25 18:49:02 -06:00
Lance Edgar
eaeda6ca36
Fix row status filter for Import/Export batches
...
per Buefy theme
2020-03-23 20:55:46 -05:00
Lance Edgar
9a61f55f76
Tweak GPC grid filter, to better handle spaces in user input
...
i.e. when a user copy/pastes a UPC with leading/trailing space
2020-03-14 18:58:06 -05:00
Lance Edgar
700813fa57
Add "is false or null" verb for boolean grid filters
2019-10-09 10:55:13 -05:00
Lance Edgar
43f366d955
Improve docs a bit, for GridFilter.set_choices()
2019-10-08 09:38:03 -05:00
Lance Edgar
d97f95fb92
Add basic support for "between" verb, for date range grid filter
...
this seems to be complete, but we'll see in practice if i forgot something..
2019-08-29 17:23:32 -05:00
Lance Edgar
1bb0330ab5
Refactory Buefy templates to use WholePage and ThisPage components
...
plus add `GridFilter.set_choices()` method
2019-08-03 16:57:13 -05:00
Lance Edgar
be6a1d916f
Add Buefy support for enum grid filters
2019-05-21 18:40:08 -05:00
Lance Edgar
d5d04b7dac
Add support for Buefy datepicker in grid filters
2019-05-21 13:44:02 -05:00
Lance Edgar
ec70d85638
Add custom grid filter for phone number fields
...
and use it in various grid views
2019-04-10 14:20:36 -05:00
Lance Edgar
511ba61b1c
Add move_before()
convenience method for GridFilterSet
...
to more easily rearrange sort order of grid filters
2019-04-02 14:44:59 -05:00
Lance Edgar
f755aefbfa
Honor enum sort order where possible, for grid filter values
2019-03-12 15:13:34 -05:00
Lance Edgar
944e896196
Consider any integer greater than PG allows, to be invalid grid filter value
...
this feels pretty hacky...would be nice to come up with a better way
2018-06-29 12:56:22 -05:00
Lance Edgar
0c653b5ee3
Fix input validation for integer grid filter
...
sometimes a default is provided as int
2018-06-27 10:26:37 -05:00
Lance Edgar
93b3a5dab6
Change how date fields are handled within grid filters
...
don't set type="date" b/c that can trigger native browser datepicker
2018-06-14 19:37:50 -05:00
Lance Edgar
3688979b8f
Add integer-specific grid filter
...
this was necessary for smarter handling of "invalid" input, e.g. '.645' is not
a good value when querying integer fields
2018-06-05 11:08:36 -05:00
Lance Edgar
ccdf821583
Add MasterView.use_byte_string_filters
flag for encoding search values
2018-05-24 15:09:00 -05:00
Lance Edgar
17d99e16b9
More tweaks for python 3
2018-02-12 19:22:05 -06:00
Lance Edgar
ee35cc6f22
Misc. cleanup for Python 3
2018-02-12 14:41:40 -06:00
Lance Edgar
d9ff59afda
Refactor grid filters to use colander/deform
2018-02-12 12:15:07 -06:00
Lance Edgar
f17617c659
Accept value_enum
kwarg when creating grid filter
...
and do the "normal" thing for that if one is given
2017-12-19 14:21:19 -06:00
Lance Edgar
52342a7612
Fix value auto-selection for enum grid filters
2017-10-22 20:56:30 -07:00
Lance Edgar
401cba23b7
Add grid filter which treats empty string as NULL
2017-10-22 20:00:31 -07:00
Lance Edgar
e80f8b31c1
Fix numeric filter to allow 3 decimal places by default
2017-08-08 17:04:59 -05:00
Lance Edgar
c57e2e17cc
Final grid refactor; we now have just 'grids' :)
...
this also removes some old UI stuff for the first attempt at continuum
versioning..among other cruft
2017-07-14 20:30:00 -05:00