<field reporter:label="Notifications" name="notifications" oils_obj:array_position="28" oils_persist:virtual="true" reporter:datatype="link"/>
<field reporter:label="Bib Record link" name="bib_rec" oils_obj:array_position="29" oils_persist:virtual="true" reporter:datatype="link"/>
<field reporter:label="Eligible Copies" name="eligible_copies" oils_obj:array_position="30" oils_persist:virtual="true" reporter:datatype="link"/>
+ <field reporter:label="Currently Frozen" name="frozen" oils_obj:array_position="31" oils_persist:virtual="false" reporter:datatype="bool"/>
</fields>
<links>
<link field="fulfillment_lib" reltype="has_a" key="id" map="" class="aou"/>
{ capture_time => undef,
fulfillment_time => undef,
cancel_time => undef,
+ frozen => 'f',
prev_check_time => { '<=' => $expire_threshold },
},
{ order_by => 'CASE WHEN hold_type = \'F\' THEN 0 ELSE 1 END, selection_depth DESC, request_time,prev_check_time' } ) ];
capture_time => undef,
fulfillment_time => undef,
prev_check_time => undef,
+ frozen => 'f',
cancel_time => undef,
{ order_by => 'CASE WHEN hold_type = \'F\' THEN 0 ELSE 1 END, selection_depth DESC, request_time' } );
} else {
fulfillment_time => undef,
prev_check_time => undef,
cancel_time => undef,
+ frozen => 'f',
{ order_by => 'CASE WHEN hold_type = \'F\' THEN 0 ELSE 1 END, selection_depth DESC, request_time' } ) ];
}
} catch Error with {
hold_type TEXT NOT NULL CHECK (hold_type IN ('M','T','V','C')),
holdable_formats TEXT,
phone_notify TEXT,
- email_notify BOOL NOT NULL DEFAULT TRUE
+ email_notify BOOL NOT NULL DEFAULT TRUE,
+ frozen BOOL NOT NULL DEFAULT FALSE
);
CREATE INDEX hold_request_target_idx ON action.hold_request (target);