https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43249 --- Comment #10 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- (In reply to Andrew Fuerste-Henry from comment #9)
This isn't working as intended for me. <duplicate_running_reports_per_user_limit> = 1 correctly allows 1 instance of a report to run, but upping the limit to 2 causes the limit to not be enforced.
Andrew is correct - the "running" sub returns a count of DIFFERENT reports running We get the processlist, loop through it, and set a hash key of the report_id to 1 We then do a search of reports using those keys For a report running three times, we set the same key three times, then fetch that report a single time. That doesn't work We could increment the value - but even then, we would do a search for the report, and it would return the single report. It isn't designed to count any report more than once -- You are receiving this mail because: You are watching all bug changes.