public string Search(ItemSearchRequest query, bool duplicatesOnly, bool includeBuddyItems, bool orderByLevel) { JsBind.ItemSourceExhausted = false; // Signal that we are loading items Browser.ShowLoadingAnimation(); var message = Search_(query, duplicatesOnly, includeBuddyItems, orderByLevel); if (ApplyItems()) { Browser.RefreshItems(); } else { JsBind.UpdateItems(new List <JsonItem>()); Browser.RefreshItems(); } return(message); }