To test
-------
[1] In the sandbox's copy grid, display the status column and filter
by the 'Available' status (ccs.id = 0).
[2] Verify that the correct rows are returned.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
if (col.filterOperator === undefined) { col.filterOperator = '='; }
if ( (col.filterOperator !== 'null') && (col.filterOperator !== 'not null') &&
- (!col.filterValue || col.filterValue === '') ) {
+ (!col.filterValue || col.filterValue === '') &&
+ (col.filterValue != '0') ) {
// if value is empty and we're _not_ checking for null/not null, clear
// the filter
delete this.context.dataSource.filters[col.name];
return this.pcrud.search('acp',
query, {
flesh: 1,
- flesh_fields: {acp: ['location']},
+ flesh_fields: {acp: ['location','status']},
offset: pager.offset,
limit: pager.limit,
order_by: orderBy