hide lucene debug search string
This commit is contained in:
parent
6aa544b322
commit
8709518cd7
5 changed files with 13 additions and 11 deletions
|
|
@ -55,17 +55,17 @@ namespace LibationWinForm
|
|||
}
|
||||
|
||||
#region bottom: qty books visible
|
||||
public void SetVisibleCount(int qty, string str = null)
|
||||
public void SetVisibleCount(int qty, string luceneSearchString = null)
|
||||
{
|
||||
visibleCountLbl.Text = string.Format(visibleCountLbl_Format, qty);
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(str))
|
||||
visibleCountLbl.Text += " | " + str;
|
||||
}
|
||||
#endregion
|
||||
//if (!string.IsNullOrWhiteSpace(luceneSearchString))
|
||||
// visibleCountLbl.Text += " | " + luceneSearchString;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region bottom: backup counts
|
||||
private async Task setBackupCountsAsync()
|
||||
#region bottom: backup counts
|
||||
private async Task setBackupCountsAsync()
|
||||
{
|
||||
var books = LibraryQueries.GetLibrary_Flat_NoTracking()
|
||||
.Select(sp => sp.Book)
|
||||
|
|
|
|||
|
|
@ -266,9 +266,10 @@ namespace LibationWinForm
|
|||
}
|
||||
currencyManager.ResumeBinding();
|
||||
|
||||
var luceneSearchString_debug = searchResults.SearchString;
|
||||
|
||||
// after applying filters, display new visible count
|
||||
parent.SetVisibleCount(dataGridView.Rows.Cast<DataGridViewRow>().Count(r => r.Visible), searchResults.SearchString);
|
||||
parent.SetVisibleCount(dataGridView.Rows.Cast<DataGridViewRow>().Count(r => r.Visible), luceneSearchString_debug);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue