Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart ac99f64010 Bug 18076: Replace holds_to_place_count with an input type=text
From http://www.template-toolkit.org/docs/manual/Directives.html#section_WHILE

"""
The Template Toolkit uses a failsafe counter to prevent runaway WHILE loops which
 would otherwise never terminate. If the loop exceeds 1000 iterations then an undef
exception will be thrown, reporting the error:

WHILE loop terminated (> 1000 iterations)

The $Template::Directive::WHILE_MAX variable controls this behaviour and can be set
to a higher value if necessary.
"""

I do not think we want to increase this value, and I do not think we want to display a
dropdown list with 1000 entries.

This patch replaces the dropdown list with an input text.

Test plan:
- Set circulation conditions - holds per record = 999
- Search for record with items
- Go to the holds tab
- Search for a patron
- Verify that when you send your search, the 'internal server error' is not shown
and you see the input text.
You should be able to enter a value > than 999 and < 1

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-02-14 13:51:21 +00:00
..
acqui Bug 17487: Styling moved from style attribute into staff-global.css 2017-01-20 14:11:55 +00:00
admin Bug 17808: Fix behavior when editing a circ rule 2017-01-20 13:57:15 +00:00
authorities Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
basket Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
batch
catalogue Bug 16115: Remove JS error on item search if NOT_LOAN values do not exist 2017-02-14 13:46:48 +00:00
cataloguing Bug 17487: Styling moved from style attribute into staff-global.css 2017-01-20 14:11:55 +00:00
circ Bug 18079: Holds to pull cleanup 2017-02-14 13:48:34 +00:00
common Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
course_reserves Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
errors Bug 16270: Typo authentification/authentication 2016-04-29 14:44:26 +00:00
help Bug 16933 - Update documentation/help file. 2016-12-23 11:23:35 +00:00
installer Bug 17504: Make the installer show the right dmbs help if wrong permissions 2016-11-02 10:58:49 +00:00
labels Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
members Bug 17960: Replace missing occurrences 2017-02-06 17:42:14 +00:00
offline_circ Bug 17056 - Remove event attributes from various templates 2016-09-25 15:47:47 +00:00
patron_lists Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
patroncards Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
plugins Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
reports Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
reserve Bug 18076: Replace holds_to_place_count with an input type=text 2017-02-14 13:51:21 +00:00
reviews Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
rotating_collections Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
serials Bug 15030 - continue. The enumchron value was overwritten by 'header' even when value supplied 2017-02-07 17:43:48 +00:00
services Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
sms
suggestion Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
tags Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
test
tools Bug 17960: Rename opac_news.new with opac_news.content 2017-02-06 17:42:12 +00:00
virtualshelves Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
about.tt Bug 7533: Add a warning to the about page if template_cache_dir is not set 2017-01-20 14:13:53 +00:00
auth.tt Bug 9569: Update warning message 2017-01-30 11:25:06 +00:00
intranet-main.tt Bug 17960: Replace missing occurrences 2017-02-06 17:42:14 +00:00