You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Searching 'mit' in the licensedb returns 307 licenses. https://scancode-licensedb.aboutcode.org/?search=mit
It is because the search pick up the Copyleft Li"mit"ed in the Category field. However, I think the search should only apply to license_key/license_name, all other fields should not be in the query for the search.
The text was updated successfully, but these errors were encountered:
mjherzog
changed the title
Search should only search for licesne key or license name
Search should only search for license key or license name
Feb 9, 2023
Currently for querying the Datatable in scancode-toolkit\src\licensedcode\templates\license_list.html we have : table.search().draw() function in js which queries the entire datatable.
For applying search to only first 2 columns i.e. key and short_name columns we can use columns() method and pass the respective column names or indexes as argument in the function like: table.columns([0,1]).search().draw()
OR table.columns(column_names or id).search().draw()
Searching 'mit' in the licensedb returns 307 licenses.
https://scancode-licensedb.aboutcode.org/?search=mit
It is because the search pick up the Copyleft Li"mit"ed in the Category field. However, I think the search should only apply to license_key/license_name, all other fields should not be in the query for the search.
The text was updated successfully, but these errors were encountered: