@@ -, +, @@ - The search is performed on specific index, using only search term. - The next or previous pages lead to an empty result page. - Go to advanced search in the staff interface - Select publication date or acquisition date - Enter a valid search term (you must have several pages of results) - Click on search => result page shows a correct result number - Click on page 2 => next results are shown --- C4/Search.pm | 4 ++-- 1 files 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; } --