[Koha-bugs] [Bug 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Julian Mauricechanged: 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Julian Mauricechanged: What|Removed |Added Attachment #69256|0 |1 is obsolete|| --- Comment #20 from Julian Maurice --- Created attachment 69261 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69261=edit Bug 19410: Move search_for_api into a Mojo helper Signed-off-by: Tomas Cohen Arazi Signed-off-by: Julian Maurice -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Julian Mauricechanged: What|Removed |Added Attachment #69257|0 |1 is obsolete|| --- Comment #21 from Julian Maurice --- Created attachment 69262 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69262=edit Bug 19410: (QA followup) Move build_query_params_from_api into a helper This patch creates the 'build_query_params' helper, instead of the original function in Koha::Objects. Unit tests are removed for Koha::Objects::_build_query_params_from_api and written for the helper plugin. The objects.search helper gets a call to build_query_params added. Tests for it updated to match this behaviour change. To test: - Apply this patches - Run: $ kshell k$ prove t/Koha/REST/Plugin/Query.t \ t/db_dependent/Koha/Objects.t \ t/db_dependent/Koha/REST/Plugin/Objects.t => SUCCESS: Tests pass! - Sign off :-D Signed-off-by: Tomas Cohen Arazi Signed-off-by: Julian Maurice -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Julian Mauricechanged: What|Removed |Added Attachment #69255|0 |1 is obsolete|| --- Comment #19 from Julian Maurice --- Created attachment 69260 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69260=edit Bug 19410: (follow-up) Fix typo in POD Signed-off-by: Tomas Cohen Arazi Signed-off-by: Julian Maurice -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Julian Mauricechanged: What|Removed |Added Attachment #69254|0 |1 is obsolete|| --- Comment #18 from Julian Maurice --- Created attachment 69259 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69259=edit Bug 19410: Unit tests Signed-off-by: Tomas Cohen Arazi Signed-off-by: Julian Maurice -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Julian Mauricechanged: What|Removed |Added Attachment #69253|0 |1 is obsolete|| --- Comment #17 from Julian Maurice --- Created attachment 69258 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69258=edit Bug 19410: Add Koha::Objects->search_for_api Following the discussion about the best way to make things simpler for developing the REST api, I quote Lari's email: "As many other endpoint will have the exact same usage, by looking at your example, I would prefer to avoid writing parameter / pagination / sorting / header handling for each list operation in our API controllers. Do you think it's possible to centralize all of this e.g. by passing $c into a customized search sub? Perhaps in Koha::Objects? so instead we could have something like (ignore my bad choice of naming)...: sub list_vendors { my $c = shift->openapi->valid_input or return; my $args = $c->validation->output; my $vendors; return try { $vendors = Koha::Acquisition::Booksellers->api_list_search($c); return $c->render(status => 200, openapi => $vendors); } catch { ... } }" We all agreed we neeed something like that. Here's a possible implementation. I take advantage of the previously written Mojo helpers, that are fully covered by tests. I submit this early so anyone can take a look and gather ideas to make it even better. I'm already using it (effectively) for the /acquisitions/orders endpoint I'm writing on bug 18731. Thanks! Signed-off-by: Tomas Cohen Arazi Signed-off-by: Julian Maurice -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Tomás Cohen Arazichanged: What|Removed |Added Attachment #69248|0 |1 is obsolete|| --- Comment #15 from Tomás Cohen Arazi --- Created attachment 69256 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69256=edit Bug 19410: Move search_for_api into a Mojo helper 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 --- Comment #16 from Tomás Cohen Arazi--- Created attachment 69257 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69257=edit Bug 19410: (QA followup) Move build_query_params_from_api into a helper This patch creates the 'build_query_params' helper, instead of the original function in Koha::Objects. Unit tests are removed for Koha::Objects::_build_query_params_from_api and written for the helper plugin. The objects.search helper gets a call to build_query_params added. Tests for it updated to match this behaviour change. To test: - Apply this patches - Run: $ kshell k$ prove t/Koha/REST/Plugin/Query.t \ t/db_dependent/Koha/Objects.t \ t/db_dependent/Koha/REST/Plugin/Objects.t => SUCCESS: Tests pass! - Sign off :-D 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Tomás Cohen Arazichanged: What|Removed |Added Attachment #67751|0 |1 is obsolete|| --- Comment #13 from Tomás Cohen Arazi --- Created attachment 69254 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69254=edit Bug 19410: Unit tests 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Tomás Cohen Arazichanged: What|Removed |Added Attachment #67798|0 |1 is obsolete|| --- Comment #14 from Tomás Cohen Arazi --- Created attachment 69255 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69255=edit Bug 19410: (follow-up) Fix typo in POD 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Tomás Cohen Arazichanged: What|Removed |Added Attachment #67750|0 |1 is obsolete|| --- Comment #12 from Tomás Cohen Arazi --- Created attachment 69253 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69253=edit Bug 19410: Add Koha::Objects->search_for_api Following the discussion about the best way to make things simpler for developing the REST api, I quote Lari's email: "As many other endpoint will have the exact same usage, by looking at your example, I would prefer to avoid writing parameter / pagination / sorting / header handling for each list operation in our API controllers. Do you think it's possible to centralize all of this e.g. by passing $c into a customized search sub? Perhaps in Koha::Objects? so instead we could have something like (ignore my bad choice of naming)...: sub list_vendors { my $c = shift->openapi->valid_input or return; my $args = $c->validation->output; my $vendors; return try { $vendors = Koha::Acquisition::Booksellers->api_list_search($c); return $c->render(status => 200, openapi => $vendors); } catch { ... } }" We all agreed we neeed something like that. Here's a possible implementation. I take advantage of the previously written Mojo helpers, that are fully covered by tests. I submit this early so anyone can take a look and gather ideas to make it even better. I'm already using it (effectively) for the /acquisitions/orders endpoint I'm writing on bug 18731. Thanks! 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 --- Comment #11 from Julian Maurice--- The last patch is a proposal for moving search_for_api out of Koha::Objects. Please tell me what you think. (In reply to Tomás Cohen Arazi from comment #9) > I'm not sure how to call $plural_object :-P I don't know either, I called it $objects_set ... -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 --- Comment #10 from Julian Maurice--- Created attachment 69248 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69248=edit Bug 19410: Move search_for_api into a Mojo helper -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 --- Comment #9 from Tomás Cohen Arazi--- (In reply to Julian Maurice from comment #8) > It feels like search_for_api would fit better as a Mojo helper, given that > it mostly call other helpers : > > $vendors = $c->search('Koha::Acquisition::Booksellers'); > > What do you think ? my $plural_object = Koha::Acquisition::Booksellers->new; my $vendors = $c->object_search( $plural_object ); ? I'm not sure how to call $plural_object :-P -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Julian Mauricechanged: What|Removed |Added CC||julian.maur...@biblibre.com --- Comment #8 from Julian Maurice --- It feels like search_for_api would fit better as a Mojo helper, given that it mostly call other helpers : $vendors = $c->search('Koha::Acquisition::Booksellers'); What do you think ? -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Tomás Cohen Arazichanged: What|Removed |Added Status|In Discussion |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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Lari Taskulachanged: What|Removed |Added Attachment #67795|0 |1 is obsolete|| --- Comment #7 from Lari Taskula --- Created attachment 67798 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67798=edit Bug 19410: (follow-up) Fix typo in POD -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 --- Comment #6 from Lari Taskula--- Created attachment 67795 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67795=edit Bug 19410: (follow-up) Fix typo in POD -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Tomás Cohen Arazichanged: What|Removed |Added Attachment #67732|0 |1 is obsolete|| --- Comment #5 from Tomás Cohen Arazi --- Created attachment 67751 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67751=edit Bug 19410: 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Tomás Cohen Arazichanged: What|Removed |Added Attachment #67731|0 |1 is obsolete|| --- Comment #4 from Tomás Cohen Arazi --- Created attachment 67750 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67750=edit Bug 19410: Add Koha::Objects->search_for_api Following the discussion about the best way to make things simpler for developing the REST api, I quote Lari's email: "As many other endpoint will have the exact same usage, by looking at your example, I would prefer to avoid writing parameter / pagination / sorting / header handling for each list operation in our API controllers. Do you think it's possible to centralize all of this e.g. by passing $c into a customized search sub? Perhaps in Koha::Objects? so instead we could have something like (ignore my bad choice of naming)...: sub list_vendors { my $c = shift->openapi->valid_input or return; my $args = $c->validation->output; my $vendors; return try { $vendors = Koha::Acquisition::Booksellers->api_list_search($c); return $c->render(status => 200, openapi => $vendors); } catch { ... } }" We all agreed we neeed something like that. Here's a possible implementation. I take advantage of the previously written Mojo helpers, that are fully covered by tests. I submit this early so anyone can take a look and gather ideas to make it even better. I'm already using it (effectively) for the /acquisitions/orders endpoint I'm writing on bug 18731. Thanks! -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 --- Comment #3 from Tomás Cohen Arazi--- Created attachment 67732 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67732=edit Bug 19410: 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Tomás Cohen Arazichanged: What|Removed |Added Attachment #67613|0 |1 is obsolete|| --- Comment #2 from Tomás Cohen Arazi --- Created attachment 67731 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67731=edit Bug 19410: Add Koha::Objects->search_for_api Following the discussion about the best way to make things simpler for developing the REST api, I quote Lari's email: "As many other endpoint will have the exact same usage, by looking at your example, I would prefer to avoid writing parameter / pagination / sorting / header handling for each list operation in our API controllers. Do you think it's possible to centralize all of this e.g. by passing $c into a customized search sub? Perhaps in Koha::Objects? so instead we could have something like (ignore my bad choice of naming)...: sub list_vendors { my $c = shift->openapi->valid_input or return; my $args = $c->validation->output; my $vendors; return try { $vendors = Koha::Acquisition::Booksellers->api_list_search($c); return $c->render(status => 200, openapi => $vendors); } catch { ... } }" We all agreed we neeed something like that. Here's a possible implementation. I take advantage of the previously written Mojo helpers, that are fully covered by tests. I submit this early so anyone can take a look and gather ideas to make it even better. I'm already using it (effectively) for the /acquisitions/orders endpoint I'm writing on bug 18731. Thanks! -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Marcel de Rooychanged: What|Removed |Added CC||m.de.r...@rijksmuseum.nl -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 --- Comment #1 from Tomás Cohen Arazi--- Created attachment 67613 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67613=edit Bug 19410: Add Koha::Objects->search_for_api Following the discussion about the best way to make things simpler for developing the REST api, I quote Lari's email: "As many other endpoint will have the exact same usage, by looking at your example, I would prefer to avoid writing parameter / pagination / sorting / header handling for each list operation in our API controllers. Do you think it's possible to centralize all of this e.g. by passing $c into a customized search sub? Perhaps in Koha::Objects? so instead we could have something like (ignore my bad choice of naming)...: sub list_vendors { my $c = shift->openapi->valid_input or return; my $args = $c->validation->output; my $vendors; return try { $vendors = Koha::Acquisition::Booksellers->api_list_search($c); return $c->render(status => 200, openapi => $vendors); } catch { ... } }" We all agreed we neeed something like that. Here's a possible implementation. I take advantage of the previously written Mojo helpers, that are fully covered by tests. I submit this early so anyone can take a look and gather ideas to make it even better. I'm already using it (effectively) for the /acquisitions/orders endpoint I'm writing on bug 18731. Thanks! -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Tomás Cohen Arazichanged: What|Removed |Added Status|NEW |In Discussion -- 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Tomás Cohen Arazichanged: What|Removed |Added Patch complexity|--- |Small 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 19410] Koha::Objects needs a ->search_for_api method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19410 Tomás Cohen Arazichanged: What|Removed |Added CC||k...@bywatersolutions.com, ||lari.task...@jns.fi, ||martin.renvoize@ptfs-europe ||.com Depends on||19196, 19278, 19234, 19369, ||19370 Assignee|koha-b...@lists.koha-commun |tomasco...@gmail.com |ity.org | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19196 [Bug 19196] Add pagination helpers https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19234 [Bug 19234] Add query parameters handling helpers https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19278 [Bug 19278] Add a configurable default page size for endpoints 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. 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/