Lineitems by Bib only supports filtering a single state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Won't Fix
|
Medium
|
Unassigned | ||
3.1 |
Won't Fix
|
Medium
|
Unassigned | ||
3.2 |
Won't Fix
|
Medium
|
Unassigned | ||
3.3 |
Won't Fix
|
Medium
|
Unassigned | ||
3.4 |
Won't Fix
|
Medium
|
Unassigned | ||
3.5 |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
API Call for openils.
In Open-ILS/
if ($options && defined $options-
$query-
}
if ($options && defined $options-
$query-
}
In the code for open-ils.
if ($li_states and @$li_states) {
$where-
$searched_
}
Changing {'jub'} to {'+jub'} in the lineitems_
Changed in evergreen: | |
milestone: | 3.1-beta → 3.1-rc |
Changed in evergreen: | |
importance: | Undecided → Medium |
Changed in evergreen: | |
milestone: | 3.1-rc → 3.1.1 |
Changed in evergreen: | |
milestone: | 3.1.1 → 3.1.2 |
Changed in evergreen: | |
milestone: | 3.1.2 → 3.1.3 |
Changed in evergreen: | |
milestone: | 3.1.3 → 3.1.4 |
Changed in evergreen: | |
milestone: | 3.1.4 → 3.1.5 |
Changed in evergreen: | |
milestone: | 3.1.5 → 3.1.6 |
Changed in evergreen: | |
milestone: | 3.1.6 → 3.2.1 |
Changed in evergreen: | |
milestone: | 3.2.1 → 3.2.2 |
Changed in evergreen: | |
milestone: | 3.2.2 → 3.2.3 |
Changed in evergreen: | |
milestone: | 3.2.3 → 3.2.4 |
Changed in evergreen: | |
milestone: | 3.2.4 → 3.2.5 |
Changed in evergreen: | |
milestone: | 3.2.5 → 3.2.6 |
Changed in evergreen: | |
milestone: | 3.2.6 → 3.2.7 |
Changed in evergreen: | |
milestone: | 3.2.7 → 3.3.3 |
Changed in evergreen: | |
milestone: | 3.3.3 → 3.3.4 |
Changed in evergreen: | |
milestone: | 3.3.4 → 3.3.5 |
Changed in evergreen: | |
milestone: | 3.3.5 → none |
milestone: | none → 3.4.2 |
Changed in evergreen: | |
milestone: | 3.4.2 → 3.4.3 |
Changed in evergreen: | |
milestone: | 3.4.3 → 3.4.4 |
Changed in evergreen: | |
milestone: | 3.4.4 → 3.5.1 |
Changed in evergreen: | |
milestone: | 3.5.1 → 3.5.2 |
Changed in evergreen: | |
milestone: | 3.5.2 → 3.6.1 |
Changed in evergreen: | |
milestone: | 3.6.1 → 3.6.2 |
Changed in evergreen: | |
milestone: | 3.6.2 → 3.6.3 |
Changed in evergreen: | |
milestone: | 3.6.3 → none |
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ khuckins/ lp1744762- lineitem- state-filtering -api
Here's a quick branch that solves the issue. Best way to test this would be to create three active lineitems for a bib record, cancel one, and mark the second as received. Then make an API call with ['on-order', 'received'] passed in for lineitem_state in our options object. It should retrieve the lineitems that weren't canceled.