[Koha-bugs] [Bug 16577] Improve call number browser plugin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat May 28 11:17:39 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16577

Frédéric Demians <frederic at tamil.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #51740|0                           |1
        is obsolete|                            |

--- Comment #2 from Frédéric Demians <frederic at tamil.fr> ---
Created attachment 51895
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51895&action=edit
Bug 16577 - Improve call number browser plugin

This patch makes several markup and style improvements to the call
number browser plugin added by Bug 13364. Some of the changes:

- The size of the pop-up window has been increased slightly for a less
  cramped display.
- Page structure has been updated to match similar pop-up windows.
- Page structure has been improved to further accommodate the option of
  viewing the call number browser as a full page rather than a pop-up
  window (although as far as I can tell it is not linked to in this mode
  anywhere).
- Row highlighting has been updated so that page styles are not being
  passed explicitly by the script. Highlight colors have been changed to
  make things more readable.
- DataTables-related markup has been removed because it was not being
  used. It doesn't make sense to re-order table rows when the purpose of
  the table is to display call number order.

To test, apply the patch and edit a framework so that the item call
number field uses the 'cn_browser.pl' plugin.

- Create or edit an item in cataloging.
- Enter an existing call number into the call number field.
  - Click the '...' link next to the call number.
    - In the call number browser pop-up, verify that items matching your
      call number are highlighted in red.
    - Verify that the new 'Close' button at the bottom of the page works
      correctly.
- Enter a call number which doesn't exist in the call number field
  - Click the '...' link to trigger the browser.
    - Verify that there is a row highlighted in green marking the sort
      order of the call number you chose.
- Navigate directly to
  /cgi-bin/koha/cataloguing/plugin_launcher.pl?plugin_name=cn_browser.pl
  - The page should appear like a normal full page, with header search,
    breadcrumbs, etc. Performing a search for call numbers should work
    like it did in the pop-up context.

Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
  Works as described. Pleasing to the eye

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


More information about the Koha-bugs mailing list