[Koha-bugs] [Bug 17479] REST API: Save information on owner access

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Dec 11 22:54:28 CET 2016


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

Jiri Kozlovsky <mail at jkozlovsky.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mail at jkozlovsky.cz

--- Comment #4 from Jiri Kozlovsky <mail at jkozlovsky.cz> ---
I like this flag approach! How about also adding the owned object to the stash?
It is very common to perform duplicate search for that object (you may need
some arbitrary column from it or to check if something has changes, etc ..)

Now you create DB query when checking for ownership and then, the same query
when the object itself is required from within the controller.

After this implemented, there would always be only one DB query for the owned
object. In the controller then, it'd be called $c->stash('owned_object').

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list