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

(-)a/C4/Search.pm (-1 / +7 lines)
Lines 1420-1425 sub buildQuery { Link Here
1420
                            $indexes[$i] = $index = 'kw';
1420
                            $indexes[$i] = $index = 'kw';
1421
                        }
1421
                        }
1422
                    }
1422
                    }
1423
                    if ( $index eq 'ns' ) {
1424
                        if ( C4::Context->preference("SearchWithISSNVariations") ) {
1425
                            my @issns = C4::Koha::GetVariationsOfISSN( $operand );
1426
                            $operands[$i] = $operand =  '(ns=' . join(' OR ns=', @issns) . ')';
1427
                            $indexes[$i] = $index = 'kw';
1428
                        }
1429
                    }
1423
                }
1430
                }
1424
1431
1425
                # Set default structure attribute (word list)
1432
                # Set default structure attribute (word list)
1426
- 

Return to bug 23919