Announcement

Collapse
No announcement yet.

Add custom report a run time filter attribute

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add custom report a run time filter attribute

    Hello,
    Add a custom report to the runtime filter attribute. I made a special report. But how do I add the runtime filter feature? I add this feature from the database. But it does not work when I'm working. for example ( ["dateStart"] )
    Does this have simple sample codes?
    Thank you.
    Last edited by gundogduyakici; 04-24-2018, 08:38 AM.

  • #2
    if you add ["dateStart"] in database to runtime filter, it will be shown.
    in service run method you have where parameter

    Comment


    • #3
      No parameters. I thought it was automatic. Where I need to add parameters? Do you have an example of this? I could not find. tanya

      Comment


      • #4
        run method get 2 parameters run($where, $params)
        if runtime filter is visible and you set it, print in log your $where argument and you will see $GLOBALS['log']->error(print_r($where, true));

        Comment


        • #5
          I understand. I will try this. Thank you. tanya

          Comment

          Working...
          X