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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt (-7 / +7 lines)
Lines 1-3 Link Here
1
[% USE To %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Authority details</title>
4
<title>Koha &rsaquo; Authority details</title>
Lines 30-41 Link Here
30
                var new_line = "";
31
                var new_line = "";
31
                [% ELSE %]
32
                [% ELSE %]
32
                var new_line = "
33
                var new_line = "
33
                [%- FOREACH SUBFIELD_LOO IN SUBFIELD_LOOP -%]‡
34
                    [%- FOREACH SUBFIELD_LOO IN SUBFIELD_LOOP -%]‡
34
                    [%- SUBFIELD_LOO.marc_subfield |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r    ') | html -%]
35
                        [%- To.json( SUBFIELD_LOO.marc_subfield ) | html -%]
35
                    [%- FOREACH marc_value IN SUBFIELD_LOO.marc_values -%]
36
                        [%- FOREACH marc_value IN SUBFIELD_LOO.marc_values -%]
36
                        [%- marc_value |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html -%]
37
                            [%- To.json( marc_value ) | html -%]
37
                    [%- END -%]
38
                        [%- END -%]
38
                [%- END -%]‡9[% authid | html %]";
39
                    [%- END -%]‡9[% authid | html %]";
39
                [% END %]
40
                [% END %]
40
                RancorReplaceField( new_line, "[% indicator1 | html %]", "[% indicator2 | html %]" );
41
                RancorReplaceField( new_line, "[% indicator1 | html %]", "[% indicator2 | html %]" );
41
            [% ELSE %]
42
            [% ELSE %]
42
- 

Return to bug 26102