Bugfix TaggedButtonGrid max page calculation

This commit is contained in:
FlorianDahn 2023-06-04 17:17:32 +02:00
parent 54513c0214
commit c463878bb4

View File

@ -277,10 +277,10 @@ public class TaggedButtonGrid : MultiView
var max = DataSource.CalculateMax(EnableSearch ? SearchQuery : null); var max = DataSource.CalculateMax(EnableSearch ? SearchQuery : null);
//if (this.EnableSearch && this.SearchQuery != null && this.SearchQuery != "") if(SelectedTags.Count < Tags.Count)
//{ {
// bf = bf.FilterDuplicate(this.SearchQuery); max = DataSource.ButtonForm.TagDuplicate(SelectedTags).Count;
//} }
if (max == 0) if (max == 0)
{ {