Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

QUERY

WHAT IS FOUND

HOW IT WORKS

items.id=="" NOT items.barcode==""

items without barcodes

the first part finds items where items.id (=UUID) exists, but not items that have barcode defined as any value. Even though the UI shows a dash when there is no barcode, there is no "barcode" field in the JSON until you add a real value.

cql.allRecords=1 NOT items.barcode==""

all instances or holdings records without items OR with items without barcodes

the first part finds all records where the barcode field is not defined. This includes any instance or holdings without items, but also finds items that have no barcodes.

cql.allRecords=1 NOT items.barcode=="" NOT item.status.name=="On order"

all instances or holdings records without items OR with items lacking barcodes that are not also on order

The query is similar to the one above, but also excludes any items with status of “On order”. This limits the located items to ones that are most likely actual errors.

item.notes.staffOnly=="true"

Finds “Staff Only” item notes

...