AnsweredAssumed Answered

LocalStorage, show views with a filter selected

Question asked by dlumbreras@estrategica.com on Dec 7, 2015
Latest reply on Dec 9, 2015 by dlumbreras@estrategica.com

Hey,

 

I'm looking for information on how to display the view records with an activated filter. I am trying through variable settings dev:sugarcrm:" +app.user.id+ ":last-state:" + module + ":filter:last-" + module + "-records but only works for me the first once the module show the view. After always applies the filter all_records

 

Code:

 

localStorage.setItem("dev:SugarCRM:" +app.user.id+ ":last-state:" + module + ":filter:last-" + module + "-records","'" + filter.id + "'");

location = "#" + module;

 

Is there any other way to do this?

 

Best regards

Outcomes