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

(-)a/C4/Search.pm (-3 / +2 lines)
Lines 1313-1326 sub buildQuery { Link Here
1313
                # Add index-specific attributes
1313
                # Add index-specific attributes
1314
                # Date of Publication
1314
                # Date of Publication
1315
                if ( $index eq 'yr' ) {
1315
                if ( $index eq 'yr' ) {
1316
                    $index .= ",st-numeric";
1316
                    $operand = "$index,st-numeric=$operand";
1317
                    $indexes_set++;
1317
                    $indexes_set++;
1318
					$stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0;
1318
					$stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0;
1319
                }
1319
                }
1320
1320
1321
                # Date of Acquisition
1321
                # Date of Acquisition
1322
                elsif ( $index eq 'acqdate' ) {
1322
                elsif ( $index eq 'acqdate' ) {
1323
                    $index .= ",st-date-normalized";
1323
                    $operand = "$index,st-date-normalized=$operand";
1324
                    $indexes_set++;
1324
                    $indexes_set++;
1325
					$stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0;
1325
					$stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0;
1326
                }
1326
                }
1327
- 

Return to bug 9368