hide lucene debug search string
This commit is contained in:
parent
6aa544b322
commit
8709518cd7
@ -46,7 +46,7 @@ namespace InternalUtilities
|
||||
// foreach (var childId in childIds)
|
||||
// {
|
||||
// var bookResult = await api.GetLibraryBookAsync(childId, AudibleApi.LibraryOptions.ResponseGroupOptions.ALL_OPTIONS);
|
||||
// var bookItem = AudibleApiDTOs.LibraryApiV10.FromJson(bookResult.ToString()).Item;
|
||||
// var bookItem = AudibleApiDTOs.LibraryDtoV10.FromJson(bookResult.ToString()).Item;
|
||||
// items.Add(bookItem);
|
||||
// }
|
||||
#endregion
|
||||
|
||||
@ -28,7 +28,7 @@ namespace InternalUtilities
|
||||
});
|
||||
|
||||
// important! use this convert method
|
||||
var libResult = LibraryApiV10.FromJson(page.ToString());
|
||||
var libResult = LibraryDtoV10.FromJson(page.ToString());
|
||||
|
||||
if (!libResult.Items.Any())
|
||||
break;
|
||||
|
||||
@ -55,12 +55,12 @@ 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;
|
||||
//if (!string.IsNullOrWhiteSpace(luceneSearchString))
|
||||
// visibleCountLbl.Text += " | " + luceneSearchString;
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -23,7 +23,8 @@ use pdf icon with and without and X over it to indicate status
|
||||
|
||||
-- begin ENHANCEMENT, GET LIBRARY ---------------------------------------------------------------------------------------------------------------------
|
||||
Audible API. GET /1.0/library , GET /1.0/library/{asin}
|
||||
TONS of expensive conversion: GetLibraryAsync > string > JObject > string > LibraryApiV10
|
||||
TONS of expensive conversion: GetLibraryAsync > string > JObject > string > LibraryDtoV10
|
||||
same for GetLibraryBookAsync > ... > BookDtoV10
|
||||
-- end ENHANCEMENT, GET LIBRARY ---------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
-- begin ENHANCEMENT, DEBUGGING ---------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user