@@ -, +, @@ - The search is performed on no index, using only search therm. - The next or previous pages lead to an empty result page. - Go to advance search - Select publication date or acquisition date - Enter a valid search term (you must have several pages of results) - Click on search - Click on page 2 --- C4/Search.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/C4/Search.pm +++ a/C4/Search.pm @@ -1313,14 +1313,14 @@ sub buildQuery { # Add index-specific attributes # Date of Publication if ( $index eq 'yr' ) { - $index .= ",st-numeric"; + $operand = "$index,st-numeric=$operand"; $indexes_set++; $stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0; } # Date of Acquisition elsif ( $index eq 'acqdate' ) { - $index .= ",st-date-normalized"; + $operand = "$index,st-date-normalized=$operand"; $indexes_set++; $stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0; } --