Lines 1073-1085
sub GetBiblio {
Link Here
|
1073 |
sub GetBiblioItemInfosOf { |
1073 |
sub GetBiblioItemInfosOf { |
1074 |
my @biblioitemnumbers = @_; |
1074 |
my @biblioitemnumbers = @_; |
1075 |
|
1075 |
|
1076 |
my $query = ' |
1076 |
my $biblioitemnumber_values = @biblioitemnumbers ? join( ',', @biblioitemnumbers ) : "''"; |
|
|
1077 |
|
1078 |
my $query = " |
1077 |
SELECT biblioitemnumber, |
1079 |
SELECT biblioitemnumber, |
1078 |
publicationyear, |
1080 |
publicationyear, |
1079 |
itemtype |
1081 |
itemtype |
1080 |
FROM biblioitems |
1082 |
FROM biblioitems |
1081 |
WHERE biblioitemnumber IN (' . join( ',', @biblioitemnumbers ) . ') |
1083 |
WHERE biblioitemnumber IN ($biblioitemnumber_values) |
1082 |
'; |
1084 |
"; |
1083 |
return get_infos_of( $query, 'biblioitemnumber' ); |
1085 |
return get_infos_of( $query, 'biblioitemnumber' ); |
1084 |
} |
1086 |
} |
1085 |
|
1087 |
|