Bug 25043

Summary: Use of union in Koha::Objects
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: tomascohen
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20936
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 25043: Play with union

Description Jonathan Druart 2020-04-02 13:44:37 UTC

    
Comment 1 Jonathan Druart 2020-04-02 13:46:26 UTC
Created attachment 102296 [details] [review]
Bug 25043: Play with union
Comment 2 Jonathan Druart 2020-04-02 13:46:43 UTC
That will be hard to implement for our Koha::Objects
Comment 3 Tomás Cohen Arazi (tcohen) 2020-04-02 14:22:19 UTC
(In reply to Jonathan Druart from comment #2)
> That will be hard to implement for our Koha::Objects

Speaking about the API use of this to circumvent the current DB issues, I think we can use an approach like this on the (very) few cases in which we have old* tables that might be requested to be included in the resultset.

So maybe is not a question of making it a core feature in Koha, but just using in the controllers to compose the result to be sent on the request response.
Comment 4 Jonathan Druart 2020-04-02 14:28:40 UTC
But I am afraid we won't be able to use object.search
Comment 5 Tomás Cohen Arazi (tcohen) 2020-04-02 14:29:35 UTC
(In reply to Jonathan Druart from comment #4)
> But I am afraid we won't be able to use object.search

All the pieces used in objects.search can be used, manually, on the controller method, so that's not a problem.
Comment 6 Katrin Fischer 2024-01-06 16:58:10 UTC
Still valid?