IOL Hide works until a change is made to the filters

  • 0
  • 1
  • Question
  • Updated 4 months ago
  • In Progress
I'm using IOL to hide the checkboxes at the left of some specific reports, but as soon as the user applies a dynamic filter and the report refreshes, the checkboxes come back. How can I make them stay gone, or  at least hide again?

relevant js from my module is below:
  if (/qid=7/i.test(querystring) || /qid=9/i.test(querystring) || /qid=11/i.test(querystring)) {
Photo of Shannon


  • 34 Points

Posted 4 months ago

  • 0
  • 1
Without seeing the full code its hard to say - but I've had some success just using window.location, particularly and parsing the qb_path out of that. 

var url = window.location;
var qb_path =\?a=/g, "")

I've done similar operations just doing 
if (path === "abc123" && qb_path === "q&qid=45") {} 
with pretty good success.

Chayce Duncan | Technical Lead
(720) 739-1406 |
Quandary Knowledge Base