Bugzilla – Attachment 54841 Details for
Bug 17192
Authority search paging doesn't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix authority paging
0001-Fix-authority-paging.patch (text/plain), 880 bytes, created by
Nicholas van Oudtshoorn
on 2016-08-25 06:12:41 UTC
(
hide
)
Description:
Fix authority paging
Filename:
MIME Type:
Creator:
Nicholas van Oudtshoorn
Created:
2016-08-25 06:12:41 UTC
Size:
880 bytes
patch
obsolete
>From 04ce2b54998ae8ad3c35cb3932da95236d4ae36f Mon Sep 17 00:00:00 2001 >From: Nicholas van Oudtshoorn <vanoudt@gmail.com> >Date: Thu, 25 Aug 2016 14:11:25 +0800 >Subject: [PATCH] Fix authority paging > >--- > authorities/authorities-home.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/authorities/authorities-home.pl b/authorities/authorities-home.pl >index 426b1ba..f41d212 100755 >--- a/authorities/authorities-home.pl >+++ b/authorities/authorities-home.pl >@@ -89,7 +89,7 @@ if ( $op eq "do_search" ) { > ); > $startfrom = $startfrom // 0; > my ( $results, $total ) = >- $searcher->search_auth_compat( $search_query, $startfrom, >+ $searcher->search_auth_compat( $search_query, (($startfrom - 1) * $resultsperpage) + 1, > $resultsperpage ); > #my ( $results, $total ) = SearchAuthorities( > # [$marclist], [$and_or], >-- >2.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17192
: 54841