Opened 10 years ago

Closed 10 years ago

#286 closed enhancement (fixed)

if a quick search is entered in the item pane, and a new item is added to the library, the item appears regardless

Reported by: simon Owned by: dstillman
Priority: minor Milestone: 1.0 Beta 2
Component: interface Version: 1.0
Keywords: Cc:

Description

If I'm performing a quick search in the Zotero pane for, e.g., "data mining," and I add a new item that doesn't have "data mining" anywhere in its metadata, it still appears in the window. The most intuitive way of solving this problem is probably to clear the search when a new item is added through the ingester (just as the pane clears the search when you add a new item through the menu). If it's easier for me to call a function on the ingester side, let me know.

Change History (1)

comment:1 Changed 10 years ago by dstillman

  • Resolution set to fixed
  • Status changed from new to closed

(In [658]) Fixes #286, if a quick search is entered in the item pane, and a new item is added to the library, the item appears regardless

New logic in itemTreeView notify() target:

  • Items are only selected on add in the active window -- this fixes a fairly major flaw in the previous system that would cause new items to be selected in all open windows
  • If a quicksearch is open in the active window and a new item is added, clear the search
  • If quicksearch and active window and item modify, rerun search
  • If quicksearch and not active window, rerun search
  • If not quicksearch and not active window, update list but retain previous selection
Note: See TracTickets for help on using tickets.