[Bug 32309] New: Store saved_reports values as hash
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: koha-bugs@lists.koha-community.org Reporter: andrewfh@dubcolib.org QA Contact: testopia@bugs.koha-community.org CC: nick@bywatersolutions.com 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.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org