Koha-clms/koha-tmpl/opac-tmpl/bootstrap/en/modules
Aleisha Amohia 4ea7a76d26 Bug 16463: Replace discharge link with error message if user has checked out items
To test:
1) Ensure the useDischarge syspref is enabled
2) Check out an item to a borrower
3) Log in to the OPAC as this borrower
4) Click the 'ask for a discharge' link in the nav
5) Click the 'Ask for a discharge' link
6) Notice you cannot be discharged because you have checkouts
7) Apply the patch, click the 'ask for a discharge' link in the nav
8) Notice the link has been replaced with an appropriate error message
9) Attempt to force the discharge URL:
/cgi-bin/koha/opac-discharge?op=request
10) Notice the message and you cannot be discharged.
11) Confirm that when you check in your item, the discharge link shows
again and works as expected.

Sponsored-by: Catalyst IT
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 89528af3b0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2017-10-27 12:09:44 +02:00
..
clubs Bug 18630: Translatability (Clubs): 'Cancel' is ambiguous and leads to mistakes 2017-06-27 16:21:09 +02:00
errors Bug 16270 (followup) Typo authentification vs authentication 2016-04-29 14:44:26 +00:00
sco Bug 18405: Self checkout: Fix broken silent printing 2017-05-08 09:01:41 -04:00
svc Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
text
…
ilsdi.tt Bug 14257: Follow-up - Add documentation, fix typo, fix test 2016-03-31 20:31:06 +00:00
maintenance.tt Bug 15311 [QA Followup] - Remove use of .raw method as it's use was reverted 2016-02-26 14:21:16 +00:00
opac-ISBDdetail.tt Bug 18726: Fix XSS at the OPAC - biblionumber 2017-08-23 16:53:14 +02:00
opac-MARCdetail.tt Bug 18726: Fix XSS at the OPAC - biblionumber 2017-08-23 16:53:14 +02:00
opac-account-pay-error.tt Bug 16473: Fix typo "an problem" vs "a problem" 2016-05-12 16:21:52 -06:00
opac-account.tt Bug 14405: Remove pagination type, there is no pagination at the OPAC 2017-02-17 17:12:22 +00:00
opac-addbybiblionumber.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-advsearch.tt Bug 18776: Translatability: Get rid of exposed tt directives in opac-advsearch.tt 2017-09-29 15:46:09 +02:00
opac-alert-subscribe.tt Bug 18726: Fix XSS at the OPAC - biblionumber 2017-08-23 16:53:14 +02:00
opac-auth-MARCdetail.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-auth-detail.tt Bug 18762: Remove warnings from xt/author/valid-templates.t 2017-06-15 14:38:05 +02:00
opac-auth.tt Bug 18314: Account lockout 2017-05-12 10:58:44 -04:00
opac-authorities-home.tt Bug 18624: (followup) opac-authorities-home.tt uses 'any' 2017-09-06 15:22:10 +02:00
opac-authoritiessearchresultlist.tt Bug 16875: OPAC - removing link to records if authority is not used by any records 2016-09-09 13:11:40 +00:00
opac-basket.tt Bug 18545: Re-add call to enableCheckboxActions 2017-07-31 10:04:24 +02:00
opac-blocked.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-browser.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-course-details.tt Bug 15853 - Add author and link columns to opac course reserves table 2016-07-15 18:04:09 +00:00
opac-course-reserves.tt Bug 15699 [QA followup] - Only display firstname if present 2016-02-24 01:58:52 +00:00
opac-detail.tt Bug 18754: [QA Follow-up] Tiny corrections 2017-09-29 15:43:35 +02:00
opac-discharge.tt Bug 16463: Replace discharge link with error message if user has checked out items 2017-10-27 12:09:44 +02:00
opac-downloadcart.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-downloadshelf.tt Bug 16599: Fix other potentials XSS for shelfname 2016-05-30 11:12:15 +00:00
opac-full-serial-issues.tt Bug 18726: Fix XSS at the OPAC - biblionumber 2017-08-23 16:53:14 +02:00
opac-ics.tt Bug 17322 - Translation breaks opac-ics.tt 2016-09-25 13:49:33 +00:00
opac-idref.tt [SIGNED-OFF] Bug 16210: Revert OPAC changes from Bug 15111 2016-04-20 16:06:31 +00:00
opac-imageviewer.tt Bug 16958: Fix XSS in opac-imageviewer.pl 2016-07-22 17:12:02 +00:00
opac-issue-note.tt Bug 14224: Replace AllowIssueNotes with AllowCheckoutNotes 2017-04-28 09:03:22 -04:00
opac-main.tt Bug 17834: Make translation easier 2017-10-10 11:48:44 +02:00
opac-memberentry-update-submitted.tt
…
opac-memberentry.tt Bug 18777: Translatability: Get rid of exposed tt directives in opac-memberentry.tt 2017-09-29 15:47:20 +02:00
opac-messaging.tt Bug 18692 - same with syspref TalkingTechItivaPhone 2017-10-03 11:28:51 +02:00
opac-mymessages.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-news-rss.tt Bug 17960: Rename opac_news.new with opac_news.content 2017-02-06 17:42:12 +00:00
opac-opensearch.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-overdrive-search.tt bug_16034 Add overdrive info to the users page in the public interface 2017-02-21 19:58:21 +00:00
opac-passwd.tt Bug 17895: 'Re-set' typo fix 2017-02-17 15:37:50 +00:00
opac-password-recovery.tt Bug 18956: Fix empty to in message queue 2017-10-23 14:28:02 +02:00
opac-privacy.tt Bug 16966: Koha::Patrons - Move GetBorrowersWithIssuesHistoryOlderThan to search_patrons_to_anonymise 2017-03-03 17:20:03 +00:00
opac-readingrecord.tt Bug 4460: Amazon's AssociateID tag not used in links so referred revenue lost 2017-05-12 08:51:44 -04:00
opac-registration-confirmation.tt Bug 17486: Remove Mozilla Persona 2017-01-13 12:32:19 +00:00
opac-registration-email-sent.tt
…
opac-registration-invalid.tt
…
opac-request-article.tt Bug 14610: Follow-up 2 2016-10-26 12:15:25 +00:00
opac-reserve.tt Bug 17560: Improve wordings 2017-03-31 12:06:05 +00:00
opac-restrictedpage.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-results-grouped.tt Bug 16599: Fix other potentials XSS for shelfname 2016-05-30 11:12:15 +00:00
opac-results.tt Bug 18762: Remove warnings from xt/author/valid-templates.t 2017-06-15 14:38:05 +02:00
opac-retrieve-file.tt
…
opac-review.tt Bug 15839: [QA Follow-up] Error checking in opac-review.pl 2016-09-09 10:31:06 +00:00
opac-search-history.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-sendbasket.tt Bug 17109: Use Koha.Preference in sendbasket template 2016-09-09 13:37:47 +00:00
opac-sendbasketform.tt Bug 18304: [QA Follow-up] Add id to paragraph tag 2017-03-31 14:27:36 +00:00
opac-sendshelf.tt Bug 17852 Follow up.Multiple URLs (856) in list email are broken 2017-02-21 19:55:50 +00:00
opac-sendshelfform.tt Bug 18304: [QA Follow-up] Add id to paragraph tag 2017-03-31 14:27:36 +00:00
opac-serial-issues.tt Bug 18726: Fix XSS at the OPAC - biblionumber 2017-08-23 16:53:14 +02:00
opac-shareshelf.tt Bug 16597: Fix XSS in opac-shareshelf 2016-05-30 11:14:03 +00:00
opac-shelves-rss.tt Bug 16599: Fix other potentials XSS for shelfname 2016-05-30 11:12:15 +00:00
opac-shelves.tt Bug 19333: Fix XSS in opac-shelves 2017-10-23 14:30:28 +02:00
opac-showmarc.tt
…
opac-showreviews-rss.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-showreviews.tt Bug 15839: [QA Follow-up] Paging on opac-showreviews 2016-09-09 10:31:05 +00:00
opac-suggestions.tt Bug 19068: Add quantity field to the opac suggestions form 2017-10-23 16:30:29 +02:00
opac-tags.tt Bug 17993 - Do not use modal authentication with CAS - tags bis 2017-05-08 09:02:17 -04:00
opac-tags_subject.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-topissues.tt Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
opac-user.tt Bug 13913 - Renewal error message in OPAC is confusing 2017-06-09 15:34:22 +02:00