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

            Bug ID: 24225
           Summary: Add Koha::Objects->search_from_api method
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Bug 23843 introduced the Koha::Object(s)->to_api method and the attribute
mappings on the Koha::Object classes. Bug 23893 will introduce the reverse
mapping along with the Koha::Object->new_from_api and
Koha::Object->set_from_api methods.

So all the pieces are set so we can properly build a
Koha::Objects->search_from_api method that does something similar to the
objects.search helper, but uses the classes' mappings instead of requiring the
to_api and to_model methods to be passed.

This will ultimately help clean all the controllers and (hopefully) improve
productivity re: adding endpoints, because of the removal of that intrinsic
complexity both on controllers, and tests.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to