[Koha-bugs] [Bug 11873] Upgrade jstree jQuery plugin to the latest version

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 10 18:28:32 CET 2021


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

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
This patch is too large to attach, so I've pushed it to a GitLab branch:

https://gitlab.com/koha-dev/koha-dev/-/tree/bug-11783-upgrade-jstree

    Bug 11873: Upgrade jstree jQuery plugin to the latest version

    This patch upgrades the jstree plugin in the OPAC and the staff
    interface. The old version had compatibility issues with the latest
    jQuery.

    Also changed: When viewing an authority record in the OPAC's MARC view,
    clicking one of the hierarchy links should now open the MARC view again
    rather than reverting to the normal view.

    To test, apply the patch and rebuild the staff interface and OPAC CSS
   
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

    To test you must have the AuthDisplayHierarchy system preference
    enabled, and you must have some authorities data which can be displayed
    as a hierarchy. From the test plan for Bug 8523:

    "Create authority records with a hierarchy of see also fields (in
     MARC21/NORMARC, you'll be using 5xx fields for this, with a subfield
     $w = 'g' for broader terms and subfield $w = 'h' for narrower terms)"

    - Perform an authority search in the OPAC which will return one of your
      modified authority records.
    - View the record.
    - There should be an expanded tree menu at the top of the authority
      information.
      - Clicking the arrows in the tree should correctly expand
        and collapse the nodes.
      - Clicking the authority record link in the node should load that
        record.
    - Test also from the OPAC's MARC view of the authority record.
      - Confirm that clicking an authority record link in the MARC view
        opens the corresponding record in MARC view again.

    - Perform the same tests in the staff interface.

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


More information about the Koha-bugs mailing list