Lines 476-482
sub select_all_authorities {
Link Here
|
476 |
sub select_all_biblios { |
476 |
sub select_all_biblios { |
477 |
$table = 'biblioitems' |
477 |
$table = 'biblioitems' |
478 |
unless grep { /^$table$/ } @tables_allowed_for_select; |
478 |
unless grep { /^$table$/ } @tables_allowed_for_select; |
479 |
my $strsth = qq{ SELECT biblionumber FROM $table }; |
479 |
my $strsth = qq{ SELECT DISTINCT(biblionumber) FROM $table }; |
480 |
$strsth.=qq{ WHERE $where } if ($where); |
480 |
$strsth.=qq{ WHERE $where } if ($where); |
481 |
$strsth.=qq{ LIMIT $length } if ($length && !$offset); |
481 |
$strsth.=qq{ LIMIT $length } if ($length && !$offset); |
482 |
$strsth.=qq{ LIMIT $offset,$length } if ($offset); |
482 |
$strsth.=qq{ LIMIT $offset,$length } if ($offset); |
483 |
- |
|
|