View | Details | Raw Unified | Return to bug 37544
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc (-2 / +1 lines)
Lines 369-375 Link Here
369
                    [%# If permanent location is defined, show description or code and             %]
369
                    [%# If permanent location is defined, show description or code and             %]
370
                    [%# display current location in parentheses. If not, display current location. %]
370
                    [%# display current location in parentheses. If not, display current location. %]
371
                    [%# Note that permanent location is a code, and location may be an authval.    %]
371
                    [%# Note that permanent location is a code, and location may be an authval.    %]
372
                    let loc_str = row._strings.location.str;
372
                    let loc_str = row._strings.location ? row._strings.location.str : row.location;
373
                    if ( row.permanent_location && row.permanent_location != row.location ) {
373
                    if ( row.permanent_location && row.permanent_location != row.location ) {
374
                        let permanent_loc_str = av_loc.get(row.permanent_location);
374
                        let permanent_loc_str = av_loc.get(row.permanent_location);
375
                        nodes += '%s (%s)'.format(escape_str(permanent_loc_str), escape_str(loc_str));
375
                        nodes += '%s (%s)'.format(escape_str(permanent_loc_str), escape_str(loc_str));
376
- 

Return to bug 37544