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

Jiri Kozlovsky <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Jiri Kozlovsky <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/

Reply via email to