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>
This commit is contained in:
parent
325a96a406
commit
37b66a2d7c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue