[Koha-bugs] [Bug 19301] Move C4::Reserves::OnShelfHoldsAllowed to the code namespace
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19301 Alex Buckleychanged: What|Removed |Added Status|Needs Signoff |Patch doesn't apply CC||alexbuck...@catalyst.net.nz --- Comment #3 from Alex Buckley --- I had issues with applying this patch: Apply? [(y)es, (n)o, (i)nteractive] i Applying: Bug 19301: Move C4::Reserves::OnShelfHoldsAllowed to get_onshelfholds_policy fatal: sha1 information is lacking or useless (C4/Reserves.pm). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge. Patch failed at 0001 Bug 19301: Move C4::Reserves::OnShelfHoldsAllowed to get_onshelfholds_policy The copy of the patch that failed is found in: /home/vagrant/kohaclone/.git/rebase-apply/patch When you have resolved this problem run "git bz apply --continue". If you would prefer to skip this patch, instead run "git bz apply --skip". To restore the original branch and stop patching run "git bz apply --abort". Patch left in /tmp/Bug-19301-Move-C4ReservesOnShelfHoldsAllowed-to-ge-7LzZnO.patch -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19300] Move C4::Reserves::OPACItemHoldsAllowed to the code namespace
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19300 Alex Buckleychanged: What|Removed |Added Attachment #67121|0 |1 is obsolete|| --- Comment #6 from Alex Buckley --- Created attachment 67390 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67390=edit Bug 19300: Replace C4::Reserves::OPACItemHoldsAllowed - Remove the subroutine At this point the subroutine is not longer in use, we can remove it Signed-off-by: Alex Buckley -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19300] Move C4::Reserves::OPACItemHoldsAllowed to the code namespace
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19300 Alex Buckleychanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19300] Move C4::Reserves::OPACItemHoldsAllowed to the code namespace
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19300 Alex Buckleychanged: What|Removed |Added Attachment #67120|0 |1 is obsolete|| --- Comment #5 from Alex Buckley --- Created attachment 67389 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67389=edit Bug 19300: Replace C4::Reserves::OPACItemHoldsAllowed This patchset move The OPACItemHoldsAllowed logic (issuingrules.opacitemholds) to a new class method of Koha::IssuingRules: get_opacitemholds_policy On the way, this patch will certainly fix the same problem as bug 19298 with onshelfholds. Test plan: Make sure the opacitemholds policy is correct when placing a hold at the OPAC or the staff interface. Followed test plan which worked as described Signed-off-by: Alex Buckley -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19300] Move C4::Reserves::OPACItemHoldsAllowed to the code namespace
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19300 Alex Buckleychanged: What|Removed |Added Attachment #67119|0 |1 is obsolete|| --- Comment #4 from Alex Buckley --- Created attachment 67388 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67388=edit Bug 19300: Replace C4::Reserves::OPACItemHoldsAllowed - tests This patch proves that we will not introduce trivial regression. With the same tests, we will execute the existing code and the new code. Test plan: With only this patch applied, prove t/db_dependent/Koha/IssuingRules.t should return green Followed test plan, patches worked as described Signed-off-by: Alex Buckley -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19298] allow_onshelf_holds is not calculated correctly in opac-shelves
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19298 Alex Buckleychanged: What|Removed |Added Attachment #67116|0 |1 is obsolete|| --- Comment #2 from Alex Buckley --- Created attachment 67387 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67387=edit Bug 19298: Placing a hold from a list at the OPAC should respect issuing rules The issuing rule retrieve to know if a hold can be placed on a record of a list is not correct. Test plan: 0/ With item-level_itypes = item level 1/ Define a item.itype=BK and biblioitems.itemtype=CF 2/ Create a default rule to allow on shelf holds 3/ Create a specific rule for CF with on shelf holds="If any unavailable" 4/ Add this bibliographic record to a list and view the list => Without this patch you will not see "Place hold" => With this patch applied you will see the "Place hold" button, respecting the correct issuing rule Followed test plan, patches worked as described. Note: Just to clarify the test plan slightly in step 4 where it says you will not see 'Place Hold' it means to the left of the 'Save to another List' link below the item availability in the opac-shelves.pl page. Not the 'Place hold' button in the grey page header box. Signed-off-by: Alex Buckley -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19298] allow_onshelf_holds is not calculated correctly in opac-shelves
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19298 Alex Buckleychanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19356] Move staff client cart JavaScript to the footer
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19356 Aleisha Amohiachanged: What|Removed |Added Attachment #67278|0 |1 is obsolete|| --- Comment #2 from Aleisha Amohia --- Created attachment 67386 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67386=edit [SIGNED-OFF] Bug 19356: Move staff client cart JavaScript to the footer This patch modifies the staff client cart template so that JavaScript is included in the footer instead of the header. To test, apply the patch and test the JavaScript-driven features of the cart: All button controls, DataTables functionality. Signed-off-by: Aleisha Amohia -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19356] Move staff client cart JavaScript to the footer
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19356 Aleisha Amohiachanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 5620] Capture Mode of payment
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5620 --- Comment #23 from Chris Cormack--- Yep, a lot do. And more should, so lets not make it harder -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 5620] Capture Mode of payment
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5620 --- Comment #22 from Katrin Fischer--- (In reply to David Bourgault from comment #21) > I think using authorised values is the best option here, as it allows the > library to customize the payment modes. > > As for traduction, I think very few library actually support multiple > languages at once in their production servers, so this would be a very minor > inconvenience. I respectfully disagree here. - it's by far not just a few. -- You are receiving this mail because: You are watching all bug changes. You are the QA Contact for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19361] Linking an authorised value category to a field in a framework can lose data
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19361 --- Comment #1 from Alex Buckley--- Created attachment 67385 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67385=edit Bug 19361 - Display the value of a MARC field in dropdown box after it is linked to an authorised value This patch displays the previously entered input of a MARC subfield (inputted before an authorised value was linked to the MARC field) in the new authorised value dropdown so that it can be resubmitted and not lost from the database. Test plan: 1. Create a record and write a value into the Edition 942$e MARC field and submit form 2. Create a new authorised value category and link it to the same Edition MARC subfield 3. Load the MARC record again and notice that the Edition field is now an empty dropdown box. Also for future reference in this test note the values in the 942$2 and 942$c dropdown boxes 4. Query the biblio_metadata table with the biblionumber of the record that you created in step 1 and notice that the value you entered in step 1 into the Edition
[Koha-bugs] [Bug 19361] Linking an authorised value category to a field in a framework can lose data
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19361 Alex Buckleychanged: What|Removed |Added CC||alexbuck...@catalyst.net.nz Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18120] CRUD endpoint for vendors
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18120 Tomás Cohen Arazichanged: What|Removed |Added Blocks||19250 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19250 [Bug 19250] Add pagination to /acquisitions/vendors -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19250] Add pagination to /acquisitions/vendors
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19250 Tomás Cohen Arazichanged: What|Removed |Added Depends on||18120 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18120 [Bug 18120] CRUD endpoint for vendors -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18515] Use news based help system for OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18515 Magnus Engerchanged: What|Removed |Added CC||mag...@libriotech.no See Also||https://bugs.koha-community ||.org/bugzilla3/show_bug.cgi ||?id=15003 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 15003] Help should be a wiki, not translatable via po-files
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15003 Magnus Engerchanged: What|Removed |Added See Also||https://bugs.koha-community ||.org/bugzilla3/show_bug.cgi ||?id=18515 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19370] Add a helper function for translating order_by params into SQL ::Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19370 Tomás Cohen Arazichanged: What|Removed |Added Blocks||19250 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19250 [Bug 19250] Add pagination to /acquisitions/vendors -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18472] Add system preferences to manage online help system
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18472 Magnus Engerchanged: What|Removed |Added See Also||https://bugs.koha-community ||.org/bugzilla3/show_bug.cgi ||?id=15003 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19369] Add a helper function for translating pagination params into SQL:: Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19369 Tomás Cohen Arazichanged: What|Removed |Added Blocks||19250 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19250 [Bug 19250] Add pagination to /acquisitions/vendors -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19250] Add pagination to /acquisitions/vendors
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19250 Tomás Cohen Arazichanged: What|Removed |Added Depends on||19369, 19370 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19369 [Bug 19369] Add a helper function for translating pagination params into SQL::Abstract https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19370 [Bug 19370] Add a helper function for translating order_by params into SQL::Abstract -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 15003] Help should be a wiki, not translatable via po-files
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15003 Magnus Engerchanged: What|Removed |Added See Also||https://bugs.koha-community ||.org/bugzilla3/show_bug.cgi ||?id=18472 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 11115] Pull help files from the manual
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5 Magnus Engerchanged: What|Removed |Added See Also||https://bugs.koha-community ||.org/bugzilla3/show_bug.cgi ||?id=15003 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 15003] Help should be a wiki, not translatable via po-files
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15003 Magnus Engerchanged: What|Removed |Added See Also||https://bugs.koha-community ||.org/bugzilla3/show_bug.cgi ||?id=5 CC||mag...@libriotech.no -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18230] Generate Koha::Patron::Modification verification_token in -> new
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18230 Jonathan Druartchanged: What|Removed |Added CC||jonathan.dru...@bugs.koha-c ||ommunity.org Status|Needs Signoff |Failed QA --- Comment #2 from Jonathan Druart --- (In reply to Lari Taskula from comment #0) > Currently verification_token is generated outside of the class. Move this > logic into Koha::Patron::Modification->new. Ok but with this patch you are not moving it, you are duplicating it. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18785] Add Koha::Subscription::biblio
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18785 --- Comment #7 from Jonathan Druart--- Created attachment 67384 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67384=edit Bug 18785: Force scalar context in Koha::Subscription::biblio Signed-off-by: Jonathan Druart -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18785] Add Koha::Subscription::biblio
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18785 Jonathan Druartchanged: What|Removed |Added Attachment #64197|0 |1 is obsolete|| Attachment #65700|0 |1 is obsolete|| --- Comment #6 from Jonathan Druart --- Created attachment 67383 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67383=edit Bug 18785: Add the Koha::Subscription->biblio method Signed-off-by: Jonathan Druart -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18785] Add Koha::Subscription::biblio
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18785 Jonathan Druartchanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18731] CRUD for acquisition orders
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18731 Tomás Cohen Arazichanged: What|Removed |Added Depends on||19369, 19370 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19369 [Bug 19369] Add a helper function for translating pagination params into SQL::Abstract https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19370 [Bug 19370] Add a helper function for translating order_by params into SQL::Abstract -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19369] Add a helper function for translating pagination params into SQL:: Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19369 Tomás Cohen Arazichanged: What|Removed |Added Blocks||18731 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18731 [Bug 18731] CRUD for acquisition orders -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19370] Add a helper function for translating order_by params into SQL ::Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19370 Tomás Cohen Arazichanged: What|Removed |Added Blocks||18731 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18731 [Bug 18731] CRUD for acquisition orders -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 17371] REST API: add CRUD for biblios
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17371 Jonathan Druartchanged: What|Removed |Added Status|Needs Signoff |Patch doesn't apply --- Comment #16 from Jonathan Druart --- CONFLICT (content): Merge conflict in api/v1/swagger/definitions.json I tried to rebase but the tests then fail. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 17371] REST API: add CRUD for biblios
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17371 Jonathan Druartchanged: What|Removed |Added Assignee|koha-b...@lists.koha-commun |benjamin.roks...@kul.oslo.k |ity.org |ommune.no -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19369] Add a helper function for translating pagination params into SQL:: Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19369 Tomás Cohen Arazichanged: What|Removed |Added Attachment #67376|0 |1 is obsolete|| --- Comment #3 from Tomás Cohen Arazi --- Created attachment 67381 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67381=edit Bug 19369: Unit tests -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19369] Add a helper function for translating pagination params into SQL:: Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19369 Tomás Cohen Arazichanged: What|Removed |Added Attachment #67378|0 |1 is obsolete|| --- Comment #4 from Tomás Cohen Arazi --- Created attachment 67382 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67382=edit Bug 19369: Add helper function for pagination attributes generation This patch introduces a new helper function to the Koha::REST::Plugin::Pagination plugin, called 'dbic_merge_pagination'. This simple function adds SQL::Abstract pagination attributes ('page' and 'rows') to the passed $filter hashref. To test: - Apply this patches - Run: $ koha-shell kohadev k$ cd kohaclone k$ prove t/Koha/REST/Plugin/Pagination.t => SUCCESS: Tests pass! - Sign off :-D Sponsored-by: Camden County -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19370] Add a helper function for translating order_by params into SQL ::Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19370 Tomás Cohen Arazichanged: What|Removed |Added CC||k...@bywatersolutions.com, ||lari.task...@jns.fi, ||martin.renvoize@ptfs-europe ||.com Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19370] Add a helper function for translating order_by params into SQL ::Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19370 --- Comment #2 from Tomás Cohen Arazi--- Created attachment 67380 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67380=edit Bug 19370: Add helper function for order_by attribute generation This patch introduces a helper function called 'dbic_merge_sorting' to Koha::REST::Plugin::Query. This simple function adds SQL::Abstract order_by attribute to the passed $filter hashref, as explained in the POD. It introduces a syntax for passing sorting params on the request to the REST api. The proposed syntax has been found in the wild, and is pretty trivial to parse/work with: GET /api/v1/?order_by=+column_1|-column_2|column_3 As explained on the POD, + stands for 'asc' and - for 'desc'. If ommited, it defaults to the DB engine default (usually asc). To test: - Apply this patches - Run: $ sudo koha-shell kohadev k$ cd kohaclone k$ prove t/Koha/REST/Plugin/Query.t => SUCCESS: Tests pass! And they make sense! :-P - Sign off :-D Sponsored-by: Camden County -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19370] Add a helper function for translating order_by params into SQL ::Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19370 --- Comment #1 from Tomás Cohen Arazi--- Created attachment 67379 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67379=edit Bug 19370: Unit tests -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18237] Can't use a hash as a reference at docs/CAS/CASProxy/examples/ proxy_cas_data.pl line 60.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18237 Jonathan Druartchanged: What|Removed |Added CC||jonathan.dru...@bugs.koha-c ||ommunity.org Status|Needs Signoff |Failed QA --- Comment #3 from Jonathan Druart --- Looks like the fix is more - my $pgtId = %$hashref->{$cgi->param('PGTIOU')}; + my $pgtId = $hashref->{$cgi->param('PGTIOU')}; instead of - my $pgtId = %$hashref->{$cgi->param('PGTIOU')}; + my $pgtId = %{$hashref->{$cgi->param('PGTIOU')}}; -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 17896] BakerTaylorEnabled is not plack safe in reading history at the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17896 Jonathan Druartchanged: What|Removed |Added Status|Needs Signoff |Failed QA --- Comment #9 from Jonathan Druart --- (In reply to M. Tompsett from comment #8) > There is some JacketImages, AmazonCoverImages, etc. clean up that needs to > be done that is beyond the scope of this bug. But deleting the JacketImages > from the parameters was a partial start. Same for BakerTaylorEnabled: opac-readingrecord.tt includes opac-bottom.inc which uses it. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19369] Add a helper function for translating pagination params into SQL:: Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19369 Tomás Cohen Arazichanged: What|Removed |Added Status|NEW |Needs Signoff CC||lari.task...@jns.fi, ||martin.renvoize@ptfs-europe ||.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 --- Comment #23 from Kyle M Hall--- Created attachment 67377 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67377=edit Bug 19234: (followup) Make Query plugin available to endpoints Signed-off-by: Kyle M Hall Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 Kyle M Hallchanged: What|Removed |Added Attachment #67363|0 |1 is obsolete|| Attachment #67364|0 |1 is obsolete|| Attachment #67365|0 |1 is obsolete|| --- Comment #21 from Kyle M Hall --- Created attachment 67374 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67374=edit Bug 19234: Unit tests for query parameters handling helpers This patch adds unit tests for the new query parameters handling Mojo plugin. Sponsored-by: Camden County Sponsored-by: ByWater Solutions Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19369] Add a helper function for translating pagination params into SQL:: Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19369 --- Comment #2 from Tomás Cohen Arazi--- Created attachment 67378 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67378=edit Bug 19369: Add helper function for pagination attributes generation This patch introduces a new helper function to the Koha::REST::Plugin::Pagination plugin, called 'dbic_merge_pagination'. This simple function adds SQL::Abstract pagination attributes ('page' and 'rows') to the passed $filter hashref. To test: - Apply this patches - Run: $ koha-shell kohadev k$ cd kohaclone k$ prove t/Koha/REST/Plugin/Pagination.t => SUCCESS: Tests pass! - Sign off :-D Sponsored-by: Camden County -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 --- Comment #22 from Kyle M Hall--- Created attachment 67375 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67375=edit Bug 19234: Add query parameters handling helpers This patch introduces a Mojolicious plugin to be used on the REST api. It adds a helper method: generate_dbic_query === When used, it generates what's needed to perform a search on DBIC/Koha::Objects like this: my $params = $c->validation->output; my ($filtered_params, $reserved_params) = $c->extract_reserved_params($params); my $filter = do_smth($filtered_params, $reserved_params); my $attributes = do_smth_reserved($reserved_params); my $patrons = Koha::Patrons->search( $filter, $attributes ); It introduces reserved param names: - _match - _order_by - _page - _per_page They are reserved for later usage (pagination, matching algorithm on building DB queries) All the plugin's behaviour is tested. To test: - Run: $ sudo koha-shell kohadev k$ cd kohaclone k$ prove t/Koha/REST/Plugin/Query.t => SUCCESS: Tests pass! - Sign off :-D Sponsored-by: ByWater solutions Sponsored-by: Camden County Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19369] Add a helper function for translating pagination params into SQL:: Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19369 --- Comment #1 from Tomás Cohen Arazi--- Created attachment 67376 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67376=edit Bug 19369: Unit tests -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 Kyle M Hallchanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19370] Add a helper function for translating order_by params into SQL ::Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19370 Tomás Cohen Arazichanged: What|Removed |Added Assignee|koha-b...@lists.koha-commun |tomasco...@gmail.com |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19370] New: Add a helper function for translating order_by params into SQL::Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19370 Bug ID: 19370 Summary: Add a helper function for translating order_by params into SQL::Abstract Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: REST api Assignee: koha-bugs@lists.koha-community.org Reporter: tomasco...@gmail.com It would be handy to have a helper function in Koha::REST::Plugin::Query generating the 'order_by' attribute out of the query params, to be used when listing objects on the REST api endpoints. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19369] New: Add a helper function for translating pagination params into SQL:: Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19369 Bug ID: 19369 Summary: Add a helper function for translating pagination params into SQL::Abstract Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: REST api Assignee: koha-bugs@lists.koha-community.org Reporter: tomasco...@gmail.com It would be handy to have a helper function in Koha::REST::Plugin::Pagination generating 'page' and 'rows' attributes out of the query params, to be used when listing objects on the REST api endpoints. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19369] Add a helper function for translating pagination params into SQL:: Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19369 Tomás Cohen Arazichanged: What|Removed |Added Depends on||19234 Assignee|koha-b...@lists.koha-commun |tomasco...@gmail.com |ity.org | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 [Bug 19234] Add query parameters handling helpers -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 Tomás Cohen Arazichanged: What|Removed |Added Blocks||19370 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19370 [Bug 19370] Add a helper function for translating order_by params into SQL::Abstract -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19370] Add a helper function for translating order_by params into SQL ::Abstract
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19370 Tomás Cohen Arazichanged: What|Removed |Added Depends on||19234 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 [Bug 19234] Add query parameters handling helpers -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19368] Add syspref to ignore words when sorting serials
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19368 --- Comment #1 from David Bourgault--- Created attachment 67373 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67373=edit Bug 19368 - Ignore words when sorting serial search This adds the 'SerialSortIgnoreWords' system preference. It is empty by default, since words to ignore are very much language-specific. The functionality is achieved by adding a hidden column to the table, and sorting by this column by default. The downfall of this solution is that if the user sorts by another column, they cannot go back to this sorting without refreshing the page. To test: 0) Apply patch 1) Run updatedatabase.pl 2) Add test subscriptions if you have none. Make sure to have subscriptions starting with "The An A" or similar 3) Go to system preferences and edit the SerialSortIgnoreWords pref Add the words "The An A" or the ones you used in your subscriptions 4) Go to Serials 5) Search serials (empty field will return all serials) 6) Result table should be sorted ignoring leading "The An A..." -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 Tomás Cohen Arazichanged: What|Removed |Added Blocks||19369 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19369 [Bug 19369] Add a helper function for translating pagination params into SQL::Abstract -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19368] Add syspref to ignore words when sorting serials
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19368 David Bourgaultchanged: What|Removed |Added CC||francois.charbonnier@inlibr ||o.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19368] Add syspref to ignore words when sorting serials
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19368 David Bourgaultchanged: What|Removed |Added Patch complexity|--- |Small patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19368] New: Add syspref to ignore words when sorting serials
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19368 Bug ID: 19368 Summary: Add syspref to ignore words when sorting serials Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Serials Assignee: david.bourga...@inlibro.com Reporter: david.bourga...@inlibro.com QA Contact: testo...@bugs.koha-community.org CC: colin.campb...@ptfs-europe.com, philippe.blo...@inlibro.com This is a functionality we offer some of our clients that we would like to push to the community. It adds a system preference containing a list of words, which are ignored when sorting the serial search results table. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18709] koha-foreach should use koha-shell, internally
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18709 Jonathan Druartchanged: What|Removed |Added Attachment #64680|0 |1 is obsolete|| --- Comment #2 from Jonathan Druart --- Created attachment 67372 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67372=edit Bug 18709: Make koha-foreach use koha-shell internally This patch simplifies the koha-foreach script, making it use koha-shell to gain instance privileges and have all environment variables set. To test: - Apply the patch - Have one or more instances created (kohadev already exists in kohadevbox, add another onewith $ sudo koha-create --create-db test) - Run: $ sudo kohaclone/debian/scripts/koha-foreach echo "This is instance __instancename__" => SUCCESS: The script runs gracefuly, and outputs something like: This is instance kohadev This is instance test Note: this means the command was executed for each instance and the current behaviour of replacing the placeholder __instancename__ for the actual instance name still works as expected. - You can try the different filter switches, but the logic has not been touched. only the command call. - Sign off :-D Signed-off-by: Jonathan Druart -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18709] koha-foreach should use koha-shell, internally
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18709 Jonathan Druartchanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18564] koha-common.cnf parsing is too restrictive
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18564 Jonathan Druartchanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18564] koha-common.cnf parsing is too restrictive
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18564 Jonathan Druartchanged: What|Removed |Added Attachment #63501|0 |1 is obsolete|| Attachment #64557|0 |1 is obsolete|| --- Comment #7 from Jonathan Druart --- Created attachment 67371 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67371=edit Bug 18564: Improve koha-common.cnf parsing to pick the mysql host my koha-common.cnf is using this form: [client] host=db user=root password="move_rootpwd_to_dotenv" this file is working has expected with mysql tools. but koha-create parsing will not find the db host resulting in koha-conf.xml containing no values in hostname element. Signed-off-by: Jonathan Druart -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18564] koha-common.cnf parsing is too restrictive
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18564 Jonathan Druartchanged: What|Removed |Added Version|16.11 |master Severity|minor |normal Assignee|gmcha...@gmail.com |eric.vantill...@evaxion.fr -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18564] koha-common.cnf parsing is too restrictive
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18564 Jonathan Druartchanged: What|Removed |Added CC||jonathan.dru...@bugs.koha-c ||ommunity.org --- Comment #6 from Jonathan Druart --- (In reply to M. Tompsett from comment #5) > Created attachment 64557 [details] [review] > Bug 18564: MariaDB doesn't have a debian.cnf file > > The koha-common.cnf file is a link to debian.cnf, which MariaDB > does not install. This just forces a 'localhost' return value. Please move it to its own bug report. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19367] $biblio variable redefined in same scope in ISBDdetail
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19367 Jonathan Druartchanged: What|Removed |Added Assignee|koha-b...@lists.koha-commun |dc...@prosentient.com.au |ity.org | --- Comment #4 from Jonathan Druart --- (In reply to M. Tompsett from comment #2) > I just need to check if $biblio isn't subject to spooky scoping action > between those two points. It eyeballs well, though, without 'my' would be > safe and not require any thought. :) Looks safe to me. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19367] $biblio variable redefined in same scope in ISBDdetail
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19367 Jonathan Druartchanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19367] $biblio variable redefined in same scope in ISBDdetail
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19367 Jonathan Druartchanged: What|Removed |Added Attachment #67356|0 |1 is obsolete|| --- Comment #3 from Jonathan Druart --- Created attachment 67370 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67370=edit Bug 19367 - $biblio variable redefined in same scope in ISBDdetail The following warning is generated by ISBDdetail.pl: my" variable $biblio masks earlier declaration in same scope at ./catalogue/ISBDdetail.pl line 171. This patch removes this unnecessary declaration, which removes the warning. _TEST PLAN_ After applying patch: 1) Check code compilation with "KOHA_CONF=/path/to/koha-conf.xml perl -c catalogue/ISBDdetail.pl" 2) Note the only message is "./catalogue/ISBDdetail.pl syntax OK" 2) On /cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=1, view the source of the page and verify that the Javascript contains a holdcount e.g. "var holdcount = 0". Signed-off-by: Jonathan Druart -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19367] $biblio variable redefined in same scope in ISBDdetail
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19367 Jonathan Druartchanged: What|Removed |Added CC||jonathan.dru...@bugs.koha-c ||ommunity.org Depends on||17736 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17736 [Bug 17736] Move GetReservesFromBiblionumber to Koha::Biblio->holds -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 17736] Move GetReservesFromBiblionumber to Koha::Biblio->holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17736 Jonathan Druartchanged: What|Removed |Added Blocks||19367 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19367 [Bug 19367] $biblio variable redefined in same scope in ISBDdetail -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19325] Enable padding of printed barcodes
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19325 Chris Nighswongerchanged: What|Removed |Added Assignee|cnighswon...@foundations.ed |david.bourga...@inlibro.com |u | -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19336] Add option to fines.pl to apply maximal fine amount after delay
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19336 David Bourgaultchanged: What|Removed |Added CC||philippe.blo...@inlibro.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 7468] Add label to batch by barcode range
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7468 David Bourgaultchanged: What|Removed |Added CC||philippe.blo...@inlibro.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19328] Internal server error because of missing currency
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19328 David Bourgaultchanged: What|Removed |Added CC||philippe.blo...@inlibro.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19196] Add pagination helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19196 Lari Taskulachanged: What|Removed |Added Attachment #67346|0 |1 is obsolete|| --- Comment #27 from Lari Taskula --- Created attachment 67369 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67369=edit Bug 19196: Rename page and per_page This patch just renames 'page' and 'per_page' params, for '_page' and '_per_page' respectively. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Lari Taskula -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19196] Add pagination helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19196 Lari Taskulachanged: What|Removed |Added Attachment #67340|0 |1 is obsolete|| --- Comment #26 from Lari Taskula --- Created attachment 67368 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67368=edit Bug 19196: Make plugin available to endpoints This patch just initializes the plugin on the main controller class so it is available for all endpoints to use. As it is not used, in order to test just restart plack and make sure the endpoints work (run the t/db_dependent/api/v1 tests). Signed-off-by: Kyle M Hall Signed-off-by: Lari Taskula -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19325] Enable padding of printed barcodes
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19325 --- Comment #6 from David Bourgault--- The main use case I had in mind when developping this patch is to add the option to standardize barcode length when printing a range (Bug 7468). Short barcodes can give very ugly results when printed as Code39, this helps fix that. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19196] Add pagination helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19196 Lari Taskulachanged: What|Removed |Added Attachment #67338|0 |1 is obsolete|| --- Comment #24 from Lari Taskula --- Created attachment 67366 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67366=edit Bug 19196: Unit tests This patch adds unit tests for the new pagination Mojo plugin. Sponsored-by: ByWater Solutions Sponsored-by: Camden County Signed-off-by: Kyle M Hall Signed-off-by: Lari Taskula -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19196] Add pagination helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19196 Lari Taskulachanged: What|Removed |Added Attachment #67339|0 |1 is obsolete|| --- Comment #25 from Lari Taskula --- Created attachment 67367 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67367=edit Bug 19196: Add Koha::REST::Plugin::Pagination This patch introduces a Mojolicious plugin to be used on the REST api. It adds a helper method: add_pagination_headers == When used, it adds a _Link_ header to the reponse with the calculated values for pagination, and X-Total-Count containing the total results like this: my $params = $c->validation->output; my $patrons = Koha::Patrons->search; my $count = $patrons->count; $c->add_pagination_headers({ total => $count, params => $params )}; To test: - Run: $ sudo koha-shell kohadev k$ cd kohaclone k$ prove t/Koha/REST/Plugin/Pagination.t => SUCCESS: Tests pass! - Sign off :-D Sponsored-by: ByWater solutions Sponsored-by: Camden County Edit: I fixed a mistake on the POD (tcohen) Signed-off-by: Kyle M Hall Signed-off-by: Lari Taskula -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 Tomás Cohen Arazichanged: What|Removed |Added Attachment #67360|0 |1 is obsolete|| --- Comment #20 from Tomás Cohen Arazi --- Created attachment 67365 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67365=edit Bug 19234: (followup) Make Query plugin available to endpoints Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 Tomás Cohen Arazichanged: What|Removed |Added Attachment #67359|0 |1 is obsolete|| --- Comment #19 from Tomás Cohen Arazi --- Created attachment 67364 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67364=edit Bug 19234: Add query parameters handling helpers This patch introduces a Mojolicious plugin to be used on the REST api. It adds a helper method: generate_dbic_query === When used, it generates what's needed to perform a search on DBIC/Koha::Objects like this: my $params = $c->validation->output; my ($filtered_params, $reserved_params) = $c->extract_reserved_params($params); my $filter = do_smth($filtered_params, $reserved_params); my $attributes = do_smth_reserved($reserved_params); my $patrons = Koha::Patrons->search( $filter, $attributes ); It introduces reserved param names: - _match - _order_by - _page - _per_page They are reserved for later usage (pagination, matching algorithm on building DB queries) All the plugin's behaviour is tested. To test: - Run: $ sudo koha-shell kohadev k$ cd kohaclone k$ prove t/Koha/REST/Plugin/Query.t => SUCCESS: Tests pass! - Sign off :-D Sponsored-by: ByWater solutions Sponsored-by: Camden County Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 Tomás Cohen Arazichanged: What|Removed |Added Attachment #67358|0 |1 is obsolete|| --- Comment #18 from Tomás Cohen Arazi --- Created attachment 67363 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67363=edit Bug 19234: Unit tests for query parameters handling helpers This patch adds unit tests for the new query parameters handling Mojo plugin. Sponsored-by: Camden County Sponsored-by: ByWater Solutions Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 5620] Capture Mode of payment
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5620 David Bourgaultchanged: What|Removed |Added Status|In Discussion |Needs Signoff --- Comment #21 from David Bourgault --- I think using authorised values is the best option here, as it allows the library to customize the payment modes. As for traduction, I think very few library actually support multiple languages at once in their production servers, so this would be a very minor inconvenience. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 5620] Capture Mode of payment
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5620 --- Comment #20 from David Bourgault--- Created attachment 67362 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67362=edit Bug 5620 - Capture mode of payment. Correction to template files Patch is rebased, should now apply. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 5620] Capture Mode of payment
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5620 David Bourgaultchanged: What|Removed |Added Attachment #60996|0 |1 is obsolete|| -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 5620] Capture Mode of payment
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5620 David Bourgaultchanged: What|Removed |Added CC||david.bourga...@inlibro.com Attachment #67361|0 |1 is obsolete|| --- Comment #19 from David Bourgault --- Comment on attachment 67361 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67361 Bug 5620 - Patch corrections, fixes to template files Woops, this didn't work -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 5620] Capture Mode of payment
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5620 --- Comment #18 from David Bourgault--- Created attachment 67361 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67361=edit Bug 5620 - Patch corrections, fixes to template files Patch should now apply Small fixes to use of template plugin AuthorisedValues -- You are receiving this mail because: You are watching all bug changes. You are the QA Contact for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 --- Comment #17 from Tomás Cohen Arazi--- Kyle, Martin, I have simplified this plugin, making it only extract reserved params from the query, and providing a 'cleaned up' attributes hash. The commit message should be clear on how this is supposed to be used. New helpers could be added in order to: - Merge pagination params into $filter (for DBIC's ->search) - Generate DBI'c search query based on _match and the received params. - Handle order_by, this is important because we could add some reflection to Koha::Objects (or DBIC in order to have them say what columns can be used for sorting) Please give this a try ASAP so I move on on top of this. Thanks in advance! -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 Tomás Cohen Arazichanged: What|Removed |Added Patch complexity|--- |Small patch Status|Failed QA |Needs Signoff CC||tomasco...@gmail.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 Tomás Cohen Arazichanged: What|Removed |Added Attachment #66993|0 |1 is obsolete|| --- Comment #16 from Tomás Cohen Arazi --- Created attachment 67360 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67360=edit Bug 19234: (followup) Make Query plugin available to endpoints Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 Tomás Cohen Arazichanged: What|Removed |Added Attachment #66991|0 |1 is obsolete|| --- Comment #14 from Tomás Cohen Arazi --- Created attachment 67358 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67358=edit Bug 19234: Unit tests for query parameters handling helpers This patch adds unit tests for the new query parameters handling Mojo plugin. Sponsored-by: Camden County Sponsored-by: ByWater Solutions Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19234] Add query parameters handling helpers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 Tomás Cohen Arazichanged: What|Removed |Added Attachment #66992|0 |1 is obsolete|| --- Comment #15 from Tomás Cohen Arazi --- Created attachment 67359 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67359=edit Bug 19234: Add query parameters handling helpers This patch introduces a Mojolicious plugin to be used on the REST api. It adds a helper method: generate_dbic_query === When used, it generates what's needed to perform a search on DBIC/Koha::Objects like this: my $params = $c->validation->output; my ($filtered_params, $reserved_params) = $c->extract_reserved_params($params); my $filter = do_smth($filtered_params, $reserved_params); my $attributes = do_smth_reserved($reserved_params); my $patrons = Koha::Patrons->search( $filter, $attributes ); It introduces reserved param names: - _match - _order_by - _page - _per_page They are reserved for later usage (pagination, matching algorithm on building DB queries) All the plugin's behaviour is tested. To test: - Run: $ sudo koha-shell kohadev k$ cd kohaclone k$ prove t/Koha/REST/Plugin/Query.t => SUCCESS: Tests pass! - Sign off :-D Sponsored-by: ByWater solutions Sponsored-by: Camden County Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18434] Elasticsearch indexing broken with newer catmandu version
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18434 Jonathan Druartchanged: What|Removed |Added Component|Searching |Searching - Elasticsearch QA Contact|testo...@bugs.koha-communit | |y.org | -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16660] Elasticsearch broken if OpacSuppression is activated
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16660 Jonathan Druartchanged: What|Removed |Added CC||jonathan.dru...@bugs.koha-c ||ommunity.org QA Contact|testo...@bugs.koha-communit | |y.org | Component|Searching |Searching - Elasticsearch -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18374] Respect QueryAutoTruncate syspref in Elasticsearch
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18374 Jonathan Druartchanged: What|Removed |Added Component|Searching |Searching - Elasticsearch QA Contact|testo...@bugs.koha-communit | |y.org | -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 17373] Elasticsearch - Authority mappings for UNIMARC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17373 Jonathan Druartchanged: What|Removed |Added Component|Searching |Searching - Elasticsearch QA Contact|testo...@bugs.koha-communit | |y.org | -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18827] Elasticsearch mappings - not displayed or retrieved in saved order
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18827 Jonathan Druartchanged: What|Removed |Added CC||jonathan.dru...@bugs.koha-c ||ommunity.org Component|Searching |Searching - Elasticsearch QA Contact|testo...@bugs.koha-communit | |y.org | -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 19015] Searches fail with error Fielddata is disabled on text fields by default for elastic search 5.3 and 5.4
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19015 Jonathan Druartchanged: What|Removed |Added QA Contact|testo...@bugs.koha-communit | |y.org | Component|Searching |Searching - Elasticsearch CC||jonathan.dru...@bugs.koha-c ||ommunity.org -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18969] Elasticsearch - _all field is deprecated - should use copy_to to prepare for ES6
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18969 Jonathan Druartchanged: What|Removed |Added QA Contact|testo...@bugs.koha-communit | |y.org | Component|Searching |Searching - Elasticsearch CC||jonathan.dru...@bugs.koha-c ||ommunity.org -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18319] Elasticsearch Advanced search breadcrumbs broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18319 Jonathan Druartchanged: What|Removed |Added QA Contact|testo...@bugs.koha-communit | |y.org | Component|Searching |Searching - Elasticsearch CC||jonathan.dru...@bugs.koha-c ||ommunity.org -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 18738] Koha_Elasticsearch_Indexer.t fails if Elasticsearch is configured but not running
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18738 Jonathan Druartchanged: What|Removed |Added CC||jonathan.dru...@bugs.koha-c ||ommunity.org See Also||https://bugs.koha-community ||.org/bugzilla3/show_bug.cgi ||?id=18897 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/