projects
/
ZOOM-Perl-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Ubuntu quantal
[ZOOM-Perl-moved-to-github.git]
/
lib
/
ZOOM.pm
diff --git
a/lib/ZOOM.pm
b/lib/ZOOM.pm
index
b85163f
..
6b2f8c9
100644
(file)
--- a/
lib/ZOOM.pm
+++ b/
lib/ZOOM.pm
@@
-578,6
+578,14
@@
sub sortby {
or ZOOM::_oops(ZOOM::Error::SORTBY, $sortby);
}
or ZOOM::_oops(ZOOM::Error::SORTBY, $sortby);
}
+sub sortby2 {
+ my $this = shift();
+ my($strategy, $sortby) = @_;
+
+ Net::Z3950::ZOOM::query_sortby2($this->_query(), $strategy, $sortby) == 0
+ or ZOOM::_oops(ZOOM::Error::SORTBY, $sortby);
+}
+
sub destroy {
my $this = shift();
sub destroy {
my $this = shift();