Lines 538-549
sub construct_query {
Link Here
|
538 |
} |
538 |
} |
539 |
|
539 |
|
540 |
if ($start_callnumber) { |
540 |
if ($start_callnumber) { |
541 |
$sql_query .= " AND itemcallnumber <= ? "; |
541 |
$sql_query .= " AND itemcallnumber >= ? "; |
542 |
push @sql_params, $start_callnumber; |
542 |
push @sql_params, $start_callnumber; |
543 |
} |
543 |
} |
544 |
|
544 |
|
545 |
if ($end_callnumber) { |
545 |
if ($end_callnumber) { |
546 |
$sql_query .= " AND itemcallnumber >= ? "; |
546 |
$sql_query .= " AND itemcallnumber <= ? "; |
547 |
push @sql_params, $end_callnumber; |
547 |
push @sql_params, $end_callnumber; |
548 |
} |
548 |
} |
549 |
if ($start_accession) { |
549 |
if ($start_accession) { |
550 |
- |
|
|