Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datatables v2 SearchPanes client/server side #774

Merged

Conversation

thomas-topway-it
Copy link
Contributor

  • Fixes https://www.semantic-mediawiki.org/wiki/Help:Datatables_format#Limitations (searchPanes now works in conjunction with Ajax, i.e. with distinct values for each pane computed server-side based on the actual query)

  • Fixes https://www.semantic-mediawiki.org/wiki/Help:Datatables_format#Known_issues (SearchPanes work correctly also if cells contain html)

  • (redesigned) the parameter datatables-searchPanes is now used to toggle on/off searchPanes independently by the "P" symbol in datatables-dom

  • adds custom parameter datatables-searchPanes.minCount (to include in searchPanes only items with occurrence greater or equal than minCount)

  • adds custom parameter datatables-searchPanes.htmlLabels to toggle html/text only in panes' entries

  • updated default separator for multiple values in cells (now is , )

  • searchPanes support category printout

  • searchPanes support dates ranges, and other grouping performed using printout formats

demos:

@JeroenDeDauw
Copy link
Member

Some UX feedback: when selecting a filter on the left, I would find it more intuitive for the filters on the right to also update.

image

@JeroenDeDauw JeroenDeDauw merged commit 4b95e20 into SemanticMediaWiki:master Apr 28, 2023
4 checks passed
@thomas-topway-it
Copy link
Contributor Author

do you mean with subcounts ? if yes, this is theoretically possible (implemented in the original SearchPanes library)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants