Bug 19941

Summary: 'alt' and 'title' attributes of the item type image are not set when a hold is placed
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: gmcharlt, tomascohen
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 19940    
Bug Blocks:    
Attachments: Bug 19940: Koha::Biblio - Remove GetBiblioItemInfosOf

Description Jonathan Druart 2018-01-09 17:04:16 UTC
From reserve/request.tt:

-              <img src="[% biblioloo.imageurl %]" alt="[% biblioloo.itypename %]" title="[% biblioloo.itypename %]" />

But this itypename is never set.

From the controller:
$biblioloopiter{description} = $biblioitem->{description};
$biblioloopiter{itypename}   = $biblioitem->{description};

$biblioitem comes from GetBiblioItemInfosOf which does not retrieve "description"
Comment 1 Jonathan Druart 2018-01-09 17:08:23 UTC Comment hidden (obsolete)
Comment 2 Tomás Cohen Arazi (tcohen) 2018-03-05 15:05:10 UTC
Jonathan, it seems to me that you submitted the patch for bug 19440 here, and forgot about this specific bug you were trying to fix.
Comment 3 Jonathan Druart 2018-03-23 18:37:38 UTC
(In reply to Tomás Cohen Arazi from comment #2)
> Jonathan, it seems to me that you submitted the patch for bug 19440 here,
> and forgot about this specific bug you were trying to fix.

Sounds like I lost that patch, or never wrote it!