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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This fixes and standardizes
      release notes|                            |links to tabs for the
                   |                            |patron summary section in
                   |                            |the OPAC (such as Checked
                   |                            |out, Overdue, Charges,
                   |                            |Holds, and so on).
                   |                            |
                   |                            |In the past, we have used
                   |                            |several different ways
                   |                            |(some that work, some that
                   |                            |don't) to construct the
                   |                            |links to the tabs.
                   |                            |
                   |                            |Now, to directly link to a
                   |                            |tab in the summary section,
                   |                            |add ?tab=opac-user-* to the
                   |                            |URL when you are in the
                   |                            |summary section (where * =
                   |                            |tab name from the anchor
                   |                            |when you hover over the
                   |                            |tab, for example checkouts
                   |                            |(for Checked out), overdues
                   |                            |(for Overdue), fines (for
                   |                            |Overdue), recalls (for
                   |                            |Recalls)).

--- Comment #8 from David Nind <[email protected]> ---
I attempted to write a release note for this one, and came away confused (even
though I signed it off!).

1. What should go in the release notes?
2. Will patrons notice anything different? (not directly I think, unless the
"old" way resulted in broken links)
3. Is this more for developers, so they construct things consistently?

Experimenting/testing notes (using KTD):
1. Add a hold for a patron
2. Add a charge for a patron
3. Check an item out to a patron
4. Checkout another item to a patron so that it is overdue (use the checkout
settings to set the due date as in the past)
5. Place a recall (enable UseRecalls, set circulation rules, check out an item
to another patron, place a recall for the item)
6. View the patron's account > Summary section
7. There are tabs for Checked out, Charges, Holds, Recalls
8. When on the summary page (/cgi-bin/koha/opac-user.pl):
   - Checked out: /cgi-bin/koha/opac-user.pl#opac-user-checkouts_panel
   - Overdue: /cgi-bin/koha/opac-user.pl#opac-user-overdues_panel
   - Charges: /cgi-bin/koha/opac-user.pl#opac-user-fines_panel
   - Holds: /cgi-bin/koha/opac-user.pl#opac-user-holds_panel
   - Recalls: /cgi-bin/koha/opac-user.pl#opac-user-recalls_panel
9. If you click on any of the tabs, the URL doesn't change (remains as
/cgi-bin/koha/opac-user.pl)
10. However, if you try to directly access one of the tabs in a new window with
a URL in step 6, you remain on the Checked out tab.
11. If you use the direct URLs shown in the diff, you go directly to the tabs:
    - Checked out - main tab, so default anyway:
/cgi-bin/koha/opac-user.pl?tab=opac-user-checkouts
    - Overdue: /cgi-bin/koha/opac-user.pl?tab=opac-user-overdues
    - Charges: /cgi-bin/koha/opac-user.pl?tab=opac-user-fines
    - Holds: /cgi-bin/koha/opac-user.pl?tab=opac-user-holds
    - Holds: /cgi-bin/koha/opac-user.pl?tab=opac-user-recalls

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to