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

Lari Taskula <lari.task...@jns.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #61696|0                           |1
        is obsolete|                            |

--- Comment #34 from Lari Taskula <lari.task...@jns.fi> ---
Created attachment 61967
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61967&action=edit
Bug 17835: Do not reselect translated_description if comes from
search_with_localization

If the Koha::ItemType object has been instanciated from a call to
Koha::ItemTypes->search_with_localization, we already have the
translated_description value. So there is no need to fetch it again from
the DB. This is what this trick does: if the translated_description
column exist in the DBIx::Class result source's column list, that means
the value has already been retrieved.

Signed-off-by: Josef Moravec <josef.mora...@gmail.com>

Signed-off-by: Lari Taskula <lari.task...@jns.fi>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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