Koha/koha-tmpl/opac-tmpl/bootstrap/en/modules
Owen Leonard 54dcce1413 Bug 26766: Correct selection of title during OPAC note confirmation
This patch modifies the JavaScript in opac-user.tt which executes when
the user submits a checkout note. The script tries to grab the
checkout's title from an earlier cell in the table row so that it can
display it in the confirmation message.

Before start ratings were enabled on this page, the title of each
checked-out item was the only HTML inside this table cell, so it was
necessary only to grab the HTML contents of the <td>. Now that star
ratings might be displayed as well we must make the selection more
specific.

To test, apply the patch and enable both the  OpacStarRatings and
AllowCheckoutNotes preferences.

 - Log in to the OPAC as a user with checkouts.
 - On the "Your summary" page, fill out and submit the "Note" field for
   one of your checkouts.
 - In the confirmation message, confirm that the correct title
   information is displayed as a link to the bibliographic detail page.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-10-26 00:14:42 +01:00
..
clubs Bug 22672: Change <i> to <em> and <b> to <strong> in templates, includes, xslt 2020-06-29 12:37:02 +02:00
errors Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
sci Bug 25261: (QA follow-up) Terminology: checkin/checkout 2020-10-01 10:33:10 +02:00
sco Bug 25261: (QA follow-up) Terminology: checkin/checkout 2020-10-01 10:33:10 +02:00
svc Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
text
ilsdi.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
maintenance.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-account-pay-error.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-account.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-addbybiblionumber.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-advsearch.tt Bug 24155: (follow-up) Template fixes and updates 2020-10-01 10:33:10 +02:00
opac-alert-subscribe.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-auth-detail.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-auth-MARCdetail.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-auth.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-authorities-home.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-authoritiessearchresultlist.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-basket.tt Bug 26749: Correct dropdown markup in OPAC cart 2020-10-26 00:14:41 +01:00
opac-blocked.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-browse.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-browser.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-course-details.tt Bug 26323: Retrieve the correct values for LOST, DAMAGED, LOC and CCODE 2020-09-28 16:09:10 +02:00
opac-course-reserves.tt Bug 26262: Remove wrong dom setting in course reserves (OPAC) 2020-09-18 11:08:35 +02:00
opac-detail.tt Bug 26145: Hide 'Upload image' if no CoverImage pref is set 2020-10-12 11:28:41 +02:00
opac-discharge.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-downloadcart.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-downloadshelf.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-full-serial-issues.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-ics.tt
opac-idref.tt
opac-illrequests.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-imageviewer.tt Bug 26145: Refactoring - Move C4::Images to Koha::CoverImages 2020-10-12 11:28:41 +02:00
opac-ISBDdetail.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-issue-note.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-library.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-main.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-MARCdetail.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-memberentry-update-submitted.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-memberentry.tt Bug 23816: Add minimum password length and require strong password overrides by category 2020-09-09 15:39:52 +02:00
opac-messaging.tt Bug 13625: Change messaging preferences descriptions according to RenewalSendNotice 2020-10-14 14:50:07 +02:00
opac-mymessages.tt
opac-news-rss.tt
opac-opensearch.tt Bug 22672: Change <i> to <em> and <b> to <strong> in templates, includes, xslt 2020-06-29 12:37:02 +02:00
opac-overdrive-search.tt Bug 26747: Show 'Always available' if title always available in overdrive 2020-10-26 00:14:41 +01:00
opac-passwd.tt Bug 23816: Add minimum password length and require strong password overrides by category 2020-09-09 15:39:52 +02:00
opac-password-recovery.tt Bug 26266: Add jQuery validator to opac-password-recovery.tt 2020-10-01 10:32:15 +02:00
opac-patron-consent.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-privacy.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-readingrecord.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-recordedbooks-search.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-registration-confirmation.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-registration-email-sent.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-registration-invalid.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-reportproblem.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-request-article.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-reserve.tt Bug 26762: Modify template logic in opac-reserves.tt to avoid error 2020-10-26 00:14:42 +01:00
opac-restrictedpage.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-results-grouped.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-results.tt Bug 26719: Replace MSG_NO_RECORD_SELECTED with translatable string 2020-10-26 00:14:41 +01:00
opac-retrieve-file.tt
opac-review.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-routing-lists.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-search-history.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-sendbasket.tt
opac-sendbasketform.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-sendshelf.tt
opac-sendshelfform.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-serial-issues.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-shareshelf.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-shelves-rss.tt
opac-shelves.tt Bug 26719: Replace MSG_NO_RECORD_SELECTED with translatable string 2020-10-26 00:14:41 +01:00
opac-showmarc.tt
opac-showreviews-rss.tt
opac-showreviews.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-suggestions.tt Bug 23420: (QA follow-up) Remove AllowPurchaseSuggestionBranchChoice syspref 2020-10-09 12:22:01 +02:00
opac-tags.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-tags_subject.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-topissues.tt Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
opac-user.tt Bug 26766: Correct selection of title during OPAC note confirmation 2020-10-26 00:14:42 +01:00