https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32309
Bug ID: 32309
Summary: Store saved_reports values as hash
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Reports
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
When using the --store-results option in runreport.pl, the resulting stored
data would be more easily usable if stored as a hash.
So, say we have a patron named Andrew Fuerste-Henry and a report "select
surname, firstname from borrowers." Currently, that will show up in
saved_reports as:
[["surname","firstname"],["Fuerste-Henry","Andrew"]]
That makes it hard to do something like find all the surnames connected to a
given firstname.
The data would be easier to work with if we instead stored it as a hash, like:
["surname" : "Fuerste-Henry" , "firstname" : "Andrew"]
--
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/