Wrap up initial vendor catalog batch support etc.
* Adds the ability to delete all batch rows matching current query. * Refactors some progress factory args. * If batch initialization fails, don't persist batch.
This commit is contained in:
parent
c28a6b2e09
commit
16be06821a
4 changed files with 65 additions and 9 deletions
|
@ -169,6 +169,8 @@ class SearchableAlchemyGridView(PagedAlchemyGridView):
|
|||
|
||||
def modify_query(self, query):
|
||||
join_map = self.join_map()
|
||||
if not hasattr(self, '_filter_config'):
|
||||
self._filter_config = self.filter_config()
|
||||
query = grids.search.filter_query(
|
||||
query, self._filter_config, self.filter_map(), join_map)
|
||||
if hasattr(self, '_sort_config'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue