You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to apply the filter via url, I need to use something like /admin/lineitem/?flt0_0={{request.args["id"]}}, which is confusing, and reliant on knowing the index position of the filters you want to apply.
Since this is an instance filter with a name ("parent") and a specific filter (FilterEqual) instead of a genearl column name (ex. ['foo']), it would be nice if you could apply the filter like this: /admin/lineitem/?flt_admin={{request.args["id"]}}
For the cases where just a field name is used, maybe something like: /admin/lineitem/?flt_admin_eq={{request.args["id"]}} /admin/lineitem/?flt_admin_ne={{request.args["id"]}} /admin/lineitem/?flt_admin_gt={{request.args["id"]}} /admin/lineitem/?flt_admin_lt={{request.args["id"]}}
Thoughts?
The text was updated successfully, but these errors were encountered:
I kind of figured we were using it outside of its original design :)
I think an api (something like url_for with filter awareness) would be nice. I also thinking having more expressive URLs would be nice, but understand it may not be worthwhile.
I have a situation where I've added a column filter to a view and would like to manually apply it in a request. For example, with the following view:
to apply the filter via url, I need to use something like
/admin/lineitem/?flt0_0={{request.args["id"]}}
, which is confusing, and reliant on knowing the index position of the filters you want to apply.Since this is an instance filter with a name ("parent") and a specific filter (FilterEqual) instead of a genearl column name (ex. ['foo']), it would be nice if you could apply the filter like this:
/admin/lineitem/?flt_admin={{request.args["id"]}}
For the cases where just a field name is used, maybe something like:
/admin/lineitem/?flt_admin_eq={{request.args["id"]}}
/admin/lineitem/?flt_admin_ne={{request.args["id"]}}
/admin/lineitem/?flt_admin_gt={{request.args["id"]}}
/admin/lineitem/?flt_admin_lt={{request.args["id"]}}
Thoughts?
The text was updated successfully, but these errors were encountered: