AnsweredAssumed Answered

How can I pass filter parameter to list view URL?

Question asked by toddk@roadrunnerwm.com toddk@roadrunnerwm.com on Oct 10, 2014
When I'm creating a filter on Leads, I see all these ajax requests going to
/rest/v10/Leads/filter?view=list&....

where my query (decoded) looks like this:
view:listfields:my_favorite,following,converted
max_num:20
filter[0][geo_lat_c][$gt]:39.8965-.01
filter[1][geo_lat_c][$lt]:39.8965+.01
filter[2][geo_long_c][$gt]:-75.2321-.01
filter[3][geo_long_c][$lt]:-75.2321+.01
It would be great if I could somehow just pass this directly in the URL.
This is not something I'd necessarily be reusing, or sales guys would enter.
The idea is to go directly from a generated link (likely from a map), 
or a dropdown ("Search near here") from another module. 


If I had to put this in, I'd create something called 'ephemeral' filter,
figure out where routing and path parsing occurs, stash the parameters there,
then if it's been set use this as ephemeral filter for listview (called from where?).
Maybe someone knows how that could be done easily.


Seems could also be useful for sending (a link to) a list to someone
instead of directions to "Search on X, and filter with Y=true, sort on Z ...".

thanks.

Outcomes