Skip to content

Conversation

@0x164C9DFC
Copy link

🤔Type of Request

  • Bug fix
  • New feature
  • Improvement
  • Documentation
  • Other

🔗Resolves an issue?
It does not resolve an issue in the Filter Control extension, but it adds the ability to do an inverse search.

📝Changelog

By prepending a keyword with [!], this keyword gets excluded from the list. It uses AND logic and can be combined with the regular filtering provided by Filter Control.

  • Core
  • Extensions

For example, let's take the latest CVEs published by NVD:

image

The user is interested in vulnerabilities related to memory:

image

However, the user is not interested in Linux, and excludes these results:

image

💡Example(s)?
A demo is available at https://live.bootstrap-table.com/code/0x164C9DFC/18990, albeit with a reduced dataset.
The demo also features a customSearch function offering the same functionality to the regular search provided by Bootstrap-Table.

☑️Self Check before Merge

⚠️ Please check all items below before reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Changelog is provided or not needed

I have no updated the documentation. No new customizable parameters were introduced. [!] is hardcoded and the algorithm modified accordingly to fit my use-case. If you think this is a useful improvement, please modify as you seem fit for the project.

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.

1 participant