Mai Term Grid not limiting Entries
Closed this issue · 7 comments
I am trying to create a list of the top 10 used tags using the Mai Term Grid Block for the mobile menu. However, it seems that the number of entries option is not working with tags as it brings back more than the set amount of tags. See screenshot.
To recreate the issue:
- Create a Mai Term Grid block.
- Set the following options:3.
Taxonomy: Tags
Get Entries By: Taxonomy
Number of Entries: 10
Offset: 0
Order by: Entry Totals
Order: Descending
Exclude: Exclude terms with no posts
If you change the orderby setting, or uncheck "exclude terms with no posts" does it work correctly?
Weird, I can't believe no one has hit this before. I see the issue here too. Seems like a bug but I'll dig in to confirm ASAP.
The Number setting is working when the Taxonomy is Categories. I'm not sure why though. I wonder if it's a hierarchical taxonomy thing.
@moyitpro This should be fixed in 2.21.4-beta.7. Can you give it a test? See https://help.bizbudding.com/article/202-beta-testing or run the beta
branch here.
Great thanks. This will stay in for the next update.