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

(-)a/C4/Search.pm (-3 / +2 lines)
Lines 1369-1382 sub buildQuery { Link Here
1369
                # Add index-specific attributes
1369
                # Add index-specific attributes
1370
                # Date of Publication
1370
                # Date of Publication
1371
                if ( $index eq 'yr' ) {
1371
                if ( $index eq 'yr' ) {
1372
                    $index .= ",st-numeric";
1372
                    $operand = "$index,st-numeric=$operand";
1373
                    $indexes_set++;
1373
                    $indexes_set++;
1374
					$stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0;
1374
					$stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0;
1375
                }
1375
                }
1376
1376
1377
                # Date of Acquisition
1377
                # Date of Acquisition
1378
                elsif ( $index eq 'acqdate' ) {
1378
                elsif ( $index eq 'acqdate' ) {
1379
                    $index .= ",st-date-normalized";
1379
                    $operand = "$index,st-date-normalized=$operand";
1380
                    $indexes_set++;
1380
                    $indexes_set++;
1381
					$stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0;
1381
					$stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0;
1382
                }
1382
                }
1383
- 

Return to bug 9368