Unexpected update of search results (Zotero 5)

I regulary move data, such as conference names, from one field to another. This cleanup activity is needed for some web imports and always works in the same way: Click on the attribute field -> CMD+x on macOS for putting the data into the clipboard -> CMD+v for pasting it into another field.

Sometimes, this activity is done for all papers from the same conference. I therefore search for a part of the conference name, which gives me a result list. I click on one entry, remove the text from the field as described above, and ... boom, the record is no longer shown. The reason seems to be that the search result is instantly updated on record change, the modified one no longer matches (since the according text is in the clipboard) and it is removed from the list. After that, I need to find the record again based on other search criterias, which is kind of annoying.

I am also unsure if this behavior was the same in Zotero 4 (plugin edition).

The general question here is if Zotero should change the list of search results without an explicit re-triggering of the search activity, e.g. by pressing RETURN again in the search bar.
  • It's a good question. It looks like 4.0 did handle this differently, though not the way you suggest. In 4.0, if a single item was selected and was modified such that the search term no longer matched, the search was cleared. So you'd lose the search, but you could continue editing the item.

    In 5.0, the search stays active, so the item disappears, which I agree is less helpful behavior.

    I think what might work is a hybrid of what 5.0 does and what you suggest. If a selected item was modified, it would turn gray if it didn't match (like other context rows in searches) but remain in place. Other changes (e.g., from saving or syncing) would still be reflected live in the search. Re-running the search would reproduce its normal behavior and hide items that no longer matched.
  • This sounds like a very reasonable approach, since (1) you still see what you are editing in the list and (2) you recognize that it will dissappear on the next search run.

    Please post the GitHub issue if this becomes an official thing. You will have my upvote.
  • edited July 11, 2017
    Issue created.

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.