From: John Yorio Date: Tue, 22 May 2018 13:05:46 +0000 (-0400) Subject: LP#1193446: circ.staff.max_visible_event_age setting X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=58b95737d55970f9b12c3bf805c198f99aeeb3c1;p=evergreen%2Fjoelewis.git LP#1193446: circ.staff.max_visible_event_age setting Signed-off-by: John Yorio Signed-off-by: Rogan Hamby Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index aae6422a78..5d7be8ceff 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -1515,7 +1515,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA (ath.core_type = 'circ' AND targ_circ.id = atev.target) LEFT JOIN action.hold_request targ_ahr ON (ath.core_type = 'ahr' AND targ_ahr.id = atev.target) - WHERE atev.add_time > NOW() - (SELECT MAX(value) FROM ( + WHERE atev.add_time > NOW() - (SELECT MIN(value) FROM ( SELECT value::INTERVAL FROM actor.org_unit_ancestor_setting( 'circ.staff.max_visible_event_age', COALESCE(targ_circ.circ_lib, targ_ahr.pickup_lib)