https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21478
Jonathan Druart <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |ommunity.org --- Comment #1 from Jonathan Druart <[email protected]> --- Indeed, the condition exist template-side only. * in holds_table.inc (for request.pl) 177 [% IF SuspendHoldsIntranet %] 178 <td> 179 [% UNLESS ( hold.found ) %] * in holds.js (for "Check out", "Details" from the patron's module) 152 if ( oObj.found ) { 153 return ""; 154 } else if ( oObj.suspend == 1 ) { 155 return "<a class='hold-resume btn btn-default btn-xs' id='resume" + oObj.reserve_id + "'>" 156 + "<i class='fa fa-play'></i> " + RESUME + "</a>"; 157 } else { 158 return "<a class='hold-suspend btn btn-default btn-xs' id='suspend" + oObj.reserve_id + "'>" 159 + "<i class='fa fa-pause'></i> " + SUSPEND + "</a>"; 160 } Other calls to ModReserve do not suspend/resume, except the one from Koha/REST/V1/Hold.pm. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
