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

(-)a/Koha/AuthorisedValues.pm (-2 / +5 lines)
Lines 52-58 sub search_by_marc_field { Link Here
52
            ( defined $tagfield    ? ( 'marc_subfield_structures.tagfield'    => $tagfield )    : () ),
52
            ( defined $tagfield    ? ( 'marc_subfield_structures.tagfield'    => $tagfield )    : () ),
53
            ( defined $tagsubfield ? ( 'marc_subfield_structures.tagsubfield' => $tagsubfield ) : () ),
53
            ( defined $tagsubfield ? ( 'marc_subfield_structures.tagsubfield' => $tagsubfield ) : () ),
54
        },
54
        },
55
        { join => { category => 'marc_subfield_structures' } }
55
        {
56
            join => { category => 'marc_subfield_structures' },
57
            order_by => [ 'category', 'lib', 'lib_opac' ],
58
        }
56
    );
59
    );
57
}
60
}
58
61
Lines 71-76 sub search_by_koha_field { Link Here
71
        },
74
        },
72
        {   join     => { category => 'marc_subfield_structures' },
75
        {   join     => { category => 'marc_subfield_structures' },
73
            distinct => 1,
76
            distinct => 1,
77
            order_by => [ 'category', 'lib', 'lib_opac' ],
74
        }
78
        }
75
    );
79
    );
76
}
80
}
77
- 

Return to bug 28554