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);
//if (this.EnableSearch && this.SearchQuery != null && this.SearchQuery != "")
//{
// bf = bf.FilterDuplicate(this.SearchQuery);
//}
if(SelectedTags.Count < Tags.Count)
{
max = DataSource.ButtonForm.TagDuplicate(SelectedTags).Count;
}
if (max == 0)
{