Icinga / icingaweb2-module-cube

Drill-down view for Icinga web 2 based on custom variables
GNU General Public License v2.0
45 stars 12 forks source link

IcingaDb Cube: Add filter and problem only controls #99

Closed sukhwinder33445 closed 1 year ago

sukhwinder33445 commented 1 year ago

resolves #16

Blocked by

nilmerg commented 1 year ago

Please create a new PR for the sort changes.

sukhwinder33445 commented 1 year ago
  • You need a utility procedure to apply the SearchBar's filter to the settings URL and the DimensionForm

Unfortunately, after setMultipartUpdate() is triggered, the search bar filter is empty and QueryString::render() returns an empty string. So $url->setQueryString(QueryString::render($filter))->addParams($otherParams);adds only the old params to the URL.

I tried this with commenting out the SearchBar.php::L456 but doesn't help much.

That's why I added the redirect as a workaround.