[Koha-bugs] [Bug 7270] Removing double itemtype on shelve contents page when no icon is shown
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 28 15:08:29 CET 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7270
--- Comment #3 from Owen Leonard <oleonard at myacpl.org> 2011-11-28 14:08:29 UTC ---
I'm assuming item-level itemtypes must be disabled in order for this bug to
manifest?
I can see three situations where one might see a broken itemtype image (with
item-level itemtypes disabled):
1. The title has no biblio-level itemtype set.
2. The itemtype is set but it has no image specified.
3. The itemtype has a remote image specified and the remote image doesn't
exist.
1 & 2 can be solved by wrapping the <img> tag in a check for imageurl
3 might be solved by this patch but I think it's a rare enough case that we
shouldn't implement the fix proposed here because it removes the output of the
description along with the image. As far as I know that is the intention of the
way the templates have been set up here and elsewhere. To change that I think
we need a wider discussion.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list