"order_by" object in a query is not a JSON_HASH or JSON_ARRAY;no ORDER BY generated
json_query and CStoreEditor search_* functions don't want a string field name,
they work with hashes or arrays thereof.
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
checkin_time => undef,
duration => {'>' => $threshold}
}, {
- order_by => 'due_date',
+ order_by => [{ class => 'circ', field => 'due_date'}],
limit => 1
}
])->[0];