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

(-)a/C4/Serials.pm (-1 / +1 lines)
Lines 655-661 sub SearchSubscriptions { Link Here
655
    my $matching_record_ids_for_additional_fields = [];
655
    my $matching_record_ids_for_additional_fields = [];
656
    if ( @$additional_fields ) {
656
    if ( @$additional_fields ) {
657
        $matching_record_ids_for_additional_fields = Koha::AdditionalField->get_matching_record_ids({
657
        $matching_record_ids_for_additional_fields = Koha::AdditionalField->get_matching_record_ids({
658
                fields => $args->{additional_fields},
658
                fields => $additional_fields,
659
                tablename => 'subscription',
659
                tablename => 'subscription',
660
                exact_match => 0,
660
                exact_match => 0,
661
        });
661
        });
(-)a/serials/serials-search.pl (-2 / +1 lines)
Lines 76-82 if ( $op and $op eq "close" ) { Link Here
76
my $additional_fields = Koha::AdditionalField->all( { table => 'subscription', searchable => 1 } );
76
my $additional_fields = Koha::AdditionalField->all( { table => 'subscription', searchable => 1 } );
77
my $additional_field_filters;
77
my $additional_field_filters;
78
for my $field ( @$additional_fields ) {
78
for my $field ( @$additional_fields ) {
79
    if ( my $filter_value = $query->param('additional_field_' . $field->{id} . '_filter') ) {
79
    if ( defined ( my $filter_value = $query->param('additional_field_' . $field->{id} . '_filter') ) ) {
80
        $additional_field_filters->{ $field->{name} } = $filter_value;
80
        $additional_field_filters->{ $field->{name} } = $filter_value;
81
    }
81
    }
82
    if ( $field->{authorised_value_category} ) {
82
    if ( $field->{authorised_value_category} ) {
83
- 

Return to bug 10855