Bug 37005: Fix problem with item_type_description being undefined
To test:
1. Set noItemTypeImages to 'Don't show'
2. Find a record with items and notice the holdings table never loads.
3. APPLY patch, maybe clear borwser cache too.
4. Try again, the holdings table should load.
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 37b66a2d7c)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
08305283ff
commit
87d1a6aabc
|
|
@ -351,8 +351,8 @@
|
|||
node += image_location
|
||||
? '<img src="%s" alt="%s" title="%s" /> '.format(escape_str(image_location), escape_str(item_type_description), escape_str(item_type_description))
|
||||
: '';
|
||||
node += '<span class="itypedesc itypetext">%s</span>'.format(escape_str(item_type_description));
|
||||
[% END %]
|
||||
node += '<span class="itypedesc itypetext">%s</span>'.format(escape_str(item_type_description));
|
||||
return node;
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue