Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Object.keys(this.modifiers).forEach(mod => {
if (this.modifiers[mod]) {
- params[mod] = true;
+ if (mod === 'retarget_holds') {
+ params.retarget_mode = 'retarget';
+ } else if (mod === 'retarget_holds_all') {
+ params.retarget_mode = 'retarget.all';
+ } else {
+ params[mod] = true;
+ }
}
});
manual_float?: boolean;
do_inventory_update?: boolean;
no_precat_alert?: boolean;
- retarget_holds?: boolean;
- retarget_holds_all?: boolean;
+ retarget_mode?: string;
// internal / local values that are moved from the API request.
_override?: boolean;