[Koha-bugs] [Bug 36081] New: ArticleRequestsSupportedFormats not enforced server-side
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Feb 13 14:07:20 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36081
Bug ID: 36081
Summary: ArticleRequestsSupportedFormats not enforced
server-side
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: jonathan.druart+koha at gmail.com
QA Contact: testopia at bugs.koha-community.org
Depends on: 20472
./opac-request-article.tt
// Initialize format(s)
var supported_formats = "[%
Koha.Preference('ArticleRequestsSupportedFormats') | $raw %]";
if( !supported_formats.match(/PHOTOCOPY/) )
$('#format option[value="PHOTOCOPY"]').remove();
if( !supported_formats.match(/SCAN/) )
$('#format option[value="SCAN"]').remove();
This is the only place we deal with ArticleRequestsSupportedFormats...
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20472
[Bug 20472] Add digital scan as optional format to Article Requests
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list