Home Service Manager Portal Feature Requests
We appreciate you taking the time to vote and add your suggestions to make our products awesome! Your request will be submitted to the community for review and inclusion into the backlog.

We recommend reviewing what is submitted before posting, in case your idea has already been submitted by another community member. If it has been submitted, vote for that existing feature request (by clicking the up arrow) to increase its opportunity of being added to Cireson solutions.

For more information around feature requests in the Cireson Community click here.

@createdfilter set standard filter value

As described here, it would sovle a lot of performance issues with big Dashboards
https://community.cireson.com/discussion/2440/default-range-for-createdfilter-on-sql-widgets
5 votes

Submitted · Last Updated

Comments

  • Mikkel_MadsenMikkel_Madsen Customer Advanced IT Monkey ✭✭✭

    Good idea :)

  • Shane_WhiteShane_White Cireson Support Super IT Monkey ✭✭✭✭✭

    Hi Peter,

    I have come up with a little bit of a hack for this in the meantime for you so put this into customspace/custom.js or script load it in from a separate file. Let me know if this works, it should apply the default to SQL grid widgets and SQL chart widgets!

    $(document).ready(function(){

    setTimeout(function(){

    var charts = $('.chart-resize-wrapper');

    charts.each(function(){

    if($(this).data().$scope.vm.dateSelected != undefined){

    $(this).data().$scope.vm.selectDateOption("Yesterday");

    $(this).data().$scope.$digest();

    }

    });

    var grid = $('[class="clearfix ng-scope"]');

    grid.each(function(){

    if($(this).data().$scope.vm.dateSelected != undefined){

    $(this).data().$scope.vm.selectDateOption("Yesterday");

    $(this).data().$scope.$digest();

    }

    });

    }, 5000);

    });

    Thanks,

    Shane

Sign In or Register to comment.