Skip to content

reset_all does not run a reindex

reset_all from within the ktd shell doesn't seem to run a reindex.

For example:

  1. Check out an item to a patron.
  2. Do a search in the staff interface that shows this record - it will show "1 checked out".
  3. From the shell (ktd --shell), enter reset_all.
  4. Repeat the search, in the search results the item checked out is still showing as checked out.
  5. If you check the record details, nothing is shown as checked out, that is, the record is available.

From what I can tell, the database is reset, but the search index isn't updated.

A reindex koha-rebuild-zebra -f -v kohadev seems to solve this.

Edited by David Nind