Go to file
Owen Leonard cc87e68e0d Bug 21296: suspend hold ignores system preference on intranet
This patch modifies the DataTable configuration for the table of holds
which displays under the "Holds" tab on the patron's checkout and
details pages. A variable is now defined in the JavaScript with the
value of the "SuspendHoldsIntranet" system preference. This variable is
passed to the DataTable configuration to determine whether the column is
visible or not.

One of the changes made in this patch moves a <script> block so that it
appears before some of the JS includes on the page. This helps keep the
string-defining JS together in one block.

To test, apply the patch and set the "SuspendHoldsIntranet" system
preference to "Allow."

 - Open the checkout page for a patron with one or more holds.
 - Under the "Holds" tab, the table of holds should have a "Suspend"
   column with controls for suspending or resuming holds.
 - Check that the same is true on the patron detail page.
 - Set the "SuspendHoldsIntranet" system preference to "Don't allow."
 - Test the checkout and detail pages again and confirm that the
   "Suspend" column does not appear.

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 541dfa7dde)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-13 21:23:53 +00:00
C4 Bug 23064: Use Koha::Subscription in ModSubscription 2020-02-13 20:41:35 +00:00
Koha Bug 22835: (follow-up) Remove comented code 2020-02-06 21:19:32 +00:00
OpenILS
…
acqui Bug 24277: Fix date received editing when receiving an order 2020-02-05 21:16:20 +00:00
admin Bug 17885: Koha::SearchEngine::Elasticsearch->reset_elasticsearch_mappings throws DBD::mysql Duplicate entry exceptions 2020-02-06 15:34:40 +00:00
api/v1 Revert "Bug 24232: Fix required permissions in DELETE /biblios/:biblio_id" 2020-01-14 20:53:03 +00:00
authorities
…
basket
…
catalogue Bug 14419: [19.05.x] (squashed) Expanding facets (Show more) performs a new search 2020-01-10 20:41:36 +00:00
cataloguing Bug 24236: Fix pagination to use query_cgi 2020-02-13 20:11:03 +00:00
circ Bug 24106: In returns.pl, don't search for item if no barcode is provided 2019-12-20 18:13:22 +00:00
clubs
…
course_reserves Bug 21003: Removed warning and changed wording on add_items-step2.tt 2019-03-23 09:51:36 +00:00
debian Bug 22220: Fix bib Apache rewrite rule for intranet 2020-02-13 16:08:00 +00:00
docs Update teams for 20.05 cycle 2019-11-28 18:56:59 +00:00
errors Bug 23329: Move error page to its own subroutine 2019-11-22 10:35:05 +00:00
etc Bug 22220: Fix bib Apache rewrite rule for intranet 2020-02-13 16:08:00 +00:00
ill Bug 21460: (follow-up) Fix bugs found in QA 2019-04-25 10:46:56 +00:00
installer Bug 24289: DBRev 19.05.07.004 2020-02-13 21:09:05 +00:00
koha-tmpl Bug 21296: suspend hold ignores system preference on intranet 2020-02-13 21:23:53 +00:00
labels Bug 21206: Replace C4::Items::GetItem 2019-02-26 13:24:07 +00:00
members Bug 21939: Fix permissions for holds history tab 2019-12-12 22:48:26 +00:00
misc Bug 24105: Fix error when running longoverdue.pl with --itemtypes 2020-02-13 20:49:01 +00:00
offline_circ Bug 22600: Add 'interface' to accountlines 2019-04-10 19:43:11 +00:00
opac Bug 14419: [19.05.x] (squashed) Expanding facets (Show more) performs a new search 2020-01-10 20:41:36 +00:00
patron_lists
…
patroncards
…
plugins Bug 22053: ability to enable/disable some plugins 2019-05-09 18:54:44 +00:00
reports Bug 23389: Add 'All' option to report dropdowns 2019-12-16 21:24:13 +00:00
reserve Bug 24485: Allow hold when some can be overridden 2020-02-07 20:29:12 +00:00
reviews
…
rotating_collections
…
serials Bug 23126: Remove more unnecessary linebreak processing from serial collection 2019-07-25 13:37:16 +02:00
services
…
skel
…
suggestion Bug 24242: Display funds that the logged in user can access - suggestions 2020-01-13 22:16:35 +00:00
svc Bug 23427: Simplify sort logic 2019-12-16 22:06:19 +00:00
t Bug 17667: Add tests 2020-02-13 16:35:26 +00:00
tags
…
tmp/modified_authorities
…
tools Bug 24423: Add biblionumber to modify items link 2020-02-06 17:19:25 +00:00
virtualshelves Bug 22941: Do not return 500 if sortfield contain parenthesis 2019-06-20 14:24:59 +02:00
xt
…
.editorconfig
…
.gitignore
…
.htaccess
…
.mailmap
…
.scss-lint.yml
…
INSTALL
…
Koha.pm Bug 24289: DBRev 19.05.07.004 2020-02-13 21:09:05 +00:00
LICENSE
…
MANIFEST.SKIP
…
Makefile.PL Bug 21626: (QA follow-up) Embed teams.yaml for debian packages 2019-05-17 14:46:10 +00:00
README
…
README.md
…
README.robots
…
about.pl Bug 23445: (RM follow-up) Add warning for unexpected lengthunit 2019-09-05 16:49:01 +02:00
changelanguage.pl
…
fix-perl-path.PL
…
gulpfile.js Bug 21751: Replace fixFloat with HC-sticky to fix Chrome display 2019-02-04 14:13:35 +00:00
help.pl
…
koha_perl_deps.pl
…
kohaversion.pl
…
mainpage.pl Bug 21907: Fix article requests count for non-superlibrarians 2019-02-04 14:50:40 +00:00
package.json
…
rewrite-config.PL
…
yarn.lock
…

README.md

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo