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

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

Return to bug 28554