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)
|
// foreach (var childId in childIds)
|
||||||
// {
|
// {
|
||||||
// var bookResult = await api.GetLibraryBookAsync(childId, AudibleApi.LibraryOptions.ResponseGroupOptions.ALL_OPTIONS);
|
// 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);
|
// items.Add(bookItem);
|
||||||
// }
|
// }
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@ -28,7 +28,7 @@ namespace InternalUtilities
|
|||||||
});
|
});
|
||||||
|
|
||||||
// important! use this convert method
|
// important! use this convert method
|
||||||
var libResult = LibraryApiV10.FromJson(page.ToString());
|
var libResult = LibraryDtoV10.FromJson(page.ToString());
|
||||||
|
|
||||||
if (!libResult.Items.Any())
|
if (!libResult.Items.Any())
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -55,17 +55,17 @@ namespace LibationWinForm
|
|||||||
}
|
}
|
||||||
|
|
||||||
#region bottom: qty books visible
|
#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);
|
visibleCountLbl.Text = string.Format(visibleCountLbl_Format, qty);
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(str))
|
//if (!string.IsNullOrWhiteSpace(luceneSearchString))
|
||||||
visibleCountLbl.Text += " | " + str;
|
// visibleCountLbl.Text += " | " + luceneSearchString;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region bottom: backup counts
|
#region bottom: backup counts
|
||||||
private async Task setBackupCountsAsync()
|
private async Task setBackupCountsAsync()
|
||||||
{
|
{
|
||||||
var books = LibraryQueries.GetLibrary_Flat_NoTracking()
|
var books = LibraryQueries.GetLibrary_Flat_NoTracking()
|
||||||
.Select(sp => sp.Book)
|
.Select(sp => sp.Book)
|
||||||
|
|||||||
@ -266,9 +266,10 @@ namespace LibationWinForm
|
|||||||
}
|
}
|
||||||
currencyManager.ResumeBinding();
|
currencyManager.ResumeBinding();
|
||||||
|
|
||||||
|
var luceneSearchString_debug = searchResults.SearchString;
|
||||||
|
|
||||||
// after applying filters, display new visible count
|
// 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
|
#endregion
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,8 @@ use pdf icon with and without and X over it to indicate status
|
|||||||
|
|
||||||
-- begin ENHANCEMENT, GET LIBRARY ---------------------------------------------------------------------------------------------------------------------
|
-- begin ENHANCEMENT, GET LIBRARY ---------------------------------------------------------------------------------------------------------------------
|
||||||
Audible API. GET /1.0/library , GET /1.0/library/{asin}
|
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 ---------------------------------------------------------------------------------------------------------------------
|
-- end ENHANCEMENT, GET LIBRARY ---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
-- begin ENHANCEMENT, DEBUGGING ---------------------------------------------------------------------------------------------------------------------
|
-- begin ENHANCEMENT, DEBUGGING ---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user