Lines 15-21
sub add {
Link Here
|
15 |
my $sessionid = $params->{sessionid}; |
15 |
my $sessionid = $params->{sessionid}; |
16 |
my $query_desc = $params->{query_desc}; |
16 |
my $query_desc = $params->{query_desc}; |
17 |
my $query_cgi = $params->{query_cgi}; |
17 |
my $query_cgi = $params->{query_cgi}; |
18 |
my $total = $params->{total}; |
18 |
my $total = $params->{total} // 0; |
19 |
my $type = $params->{type} || 'biblio'; |
19 |
my $type = $params->{type} || 'biblio'; |
20 |
|
20 |
|
21 |
my $dbh = C4::Context->dbh; |
21 |
my $dbh = C4::Context->dbh; |
22 |
- |
|
|