Search Auto suggest not removing deleted bibs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
I've tested this in 3.0.3.
When a bib record is deleted, it's auto-suggest values are remaining. This causes auto-suggest to continue displaying the value but clicking on it will take you to 0 records.
Doing some testing, I can see that when deleting a bib, the mapping is removed from metabib.
I did a simple query to identify all problem records,
select count(*) from metabib.
I believe that when deleting a bib record, both entries should be removed. The mapping and the entry itself. It does not look like Evergreen shares entries among multiple bib records so it should just be removed.
Steve
tags: | added: opac-autosuggest |
So a little hiccup to this, is it looks like authority entries will not have a corresponding def_map entry, so just doing a blanket test for any browse_entrys that do not have def_maps is not going to work if you are using authorities.