[Koha-bugs] [Bug 7872] C4::Items GetItemsInfo marc_subfield_structure SQL queries fetch all results and use first row

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 5 14:19:50 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7872

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at biblibre.co
                   |                            |m

--- Comment #4 from Jonathan Druart <jonathan.druart at biblibre.com> ---
QA Comment:

Hi Dobrica, 
Why don't you replace these queries with a call to the C4::Koha::GetAuthValCode
function (it does the same query) ?
However, isn't it better to use the LIMIT 1 clause if we just want one result ?

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


More information about the Koha-bugs mailing list