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

--- Comment #6 from Andrew Fuerste-Henry <[email protected]> ---
I don't think Lucas's original fix here is the way to go. He told the query to
ignore both the associated borrower's branch and the associated item's
homebranch. If a library is using statistical patrons, the borrower's branch
will have a value that libraries may want to use for differentiating local use
counts. The item's homebranch should always have an item, even if the item has
been deleted.

In the circulation statistics wizard the various library values correspond to:
Issuing library - the value record in statistics.branch when the transaction
took place
Home library - the current home library of the item in question
Holding library - the current holding library of the item in question
Patron library - the current library of the associated patron used (if any -
for local use there is only a patron if statistical patrons are used)

So if the user lands on the circulation statistics page, changes Type to "Local
use" and runs the query with the default values they get all local uses that
happened at the logged-in branch, involving items with home and holding values
matching the logged-in branch, and to patrons from the logged-in branch. That's
a very specific query and seems unlikely to match what folks want.

I suggest we make the page load with home library, holding library, and patron
library all set to blank. That would make the default search simply all
transactions of the given type that happened at the logged-in branch. Broad but
clear.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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