https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30198

--- Comment #5 from David Cook <[email protected]> ---
(In reply to Donna from comment #0)
> Likewise, if I am in a consortium/multi-library setting, and do not have the
> permission to view patron data from other libraries, in the reports module I
> can run reports that contain patron data from any of the other libraries.

Unfortunately this one isn't really possible. Intervening before the query is
sent to the database isn't feasible since the query permutations are too
varied. Intervening after the results are retrieved would lead to a discrepancy
in rows retrieved and rows viewed. You wouldn't be able to determine the result
count until after you'd tried to retrieve all possible rows. 

It would lead to a wildly different user experience, and at that point you'd
almost be better off re-writing the Reports module not to allow custom SQL at
all. But that creates other problems too, of course.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to