@@ -, +, @@ C4::AuthoritiesMarc But this works too. :) --- C4/AuthoritiesMarc.pm | 1 + 1 file changed, 1 insertion(+) --- a/C4/AuthoritiesMarc.pm +++ a/C4/AuthoritiesMarc.pm @@ -109,6 +109,7 @@ sub SearchAuthorities { my ($tags, $and_or, $excluding, $operator, $value, $offset,$length,$authtypecode,$sortby,$skipmetadata) = @_; # warn Dumper($tags, $and_or, $excluding, $operator, $value, $offset,$length,$authtypecode,$sortby); my $dbh=C4::Context->dbh; + $sortby="" unless $sortby; my $query; my $qpquery = ''; my $QParser; --