authority ordering in cataloguing / search authority
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
134f50e6d2
commit
50e759fdee
|
|
@ -60,6 +60,7 @@ if ( $op eq "do_search" ) {
|
|||
my @excluding = $query->param('excluding');
|
||||
my @operator = $query->param('operator');
|
||||
my @value = $query->param('value');
|
||||
my $orderby = $query->param('orderby');
|
||||
|
||||
$resultsperpage = $query->param('resultsperpage');
|
||||
$resultsperpage = 19 if ( !defined $resultsperpage );
|
||||
|
|
@ -67,7 +68,7 @@ if ( $op eq "do_search" ) {
|
|||
my ( $results, $total ) =
|
||||
SearchAuthorities( \@marclist, \@and_or, \@excluding, \@operator, \@value,
|
||||
$startfrom * $resultsperpage,
|
||||
$resultsperpage, $authtypecode ); # $orderby);
|
||||
$resultsperpage, $authtypecode, $orderby);
|
||||
|
||||
# multi page display gestion
|
||||
my $displaynext = 0;
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
<p>
|
||||
Sort by <select name="orderby">
|
||||
<option value="">No order</option>
|
||||
<option value="HeadingAsc">Heading Ascendant</option>
|
||||
<option value="HeadingAsc" selected="SELECTED">Heading Ascendant</option>
|
||||
<option value="HeadingDsc">Heading Descendant</option>
|
||||
</select>
|
||||
<input type="submit" value="Start search" class="button" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue