Bugfix TaggedButtonGrid max page calculation
This commit is contained in:
parent
54513c0214
commit
c463878bb4
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user