[Koha-bugs] [Bug 25168] mandatory field has been set in admin but purchase suggestion (in opac) allow to enter null value

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 10 04:44:11 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25168

ciarebaha <hamsiah at interxs.com.my> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED

--- Comment #17 from ciarebaha <hamsiah at interxs.com.my> ---
(In reply to Jonathan Druart from comment #16)
> The problematic line is:
> 
> 1118             var FldsRequired = [ARRAY(0x66dd688)];
> 
> Can you open your file opac-suggestions.tt and copy what you have line 346
> please?
> 
> It must be
> 
> 346             var FldsRequired = ['[% mandatoryfields.join("','") | html
> %]'];


The purchase suggestion already working now after we add .join (",") to
opac.suggestion.tt. Thank you all.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list