[Koha-bugs] [Bug 10856] Improve the previous and next items on the shelf browser

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 12 18:09:27 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10856

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #10 from Owen Leonard <oleonard at myacpl.org> ---
This is great stuff--I'm really excited about this patch! However, I'm still
seeing some weird behavior from the paging buttons:

With JavaScript disabled, the "next" button appears to work the same as the
"previous" button.

With JavaScript enabled, I think the calculations of the next and previous is
not being calculated correctly. Here are some results from my test. In this
example "787" represents the starting item number, the item on which the
"browse shelf" link was clicked. Each row of numbers shows the item numbers in
the set of results.

+---------------+------+-------+-------+------+------+------+------+
| Starting set: | 8164 | 10263 | 10508 |  787 |  793 |  798 |  802 |
| Next set:     |  798 |   793 |   787 | 1281 | 1283 | 1284 | 1286 |
| Next set:     |  798 |   793 |   797 | 1318 | 1322 | 1324 | 1326 |
+---------------+------+-------+-------+------+------+------+------+

For reference, here are the relevant item numbers from my database in order
starting with 787:

+------------+----------+----------------+
| itemnumber | cn_sort  | itemcallnumber |
+------------+----------+----------------+
|        787 | J_ABBOTT | J Abbott       |
|        793 | J_ABBOTT | J Abbott       |
|        798 | J_ABBOTT | J Abbott       |
|        802 | J_ABBOTT | J Abbott       |
|        803 | J_ABBOTT | J Abbott       |
|       1278 | J_ABBOTT | J Abbott       |
|       1280 | J_ABBOTT | J Abbott       |
|       1281 | J_ABBOTT | J Abbott       |
|       1283 | J_ABBOTT | J Abbott       |
|       1284 | J_ABBOTT | J Abbott       |
|       1286 | J_ABBOTT | J Abbott       |
|       1288 | J_ABBOTT | J Abbott       |
|       1289 | J_ABBOTT | J Abbott       |
|       1291 | J_ABBOTT | J Abbott       |
|       1318 | J_ABBOTT | J Abbott       |
|       1322 | J_ABBOTT | J Abbott       |
|       1324 | J_ABBOTT | J Abbott       |
|       1326 | J_ABBOTT | J Abbott       |
+------------+----------+----------------+

Looks like the right-hand side of the results is being calculated correctly but
not the left hand.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list