-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
At the moment it seems to be doing only prefix search. If a category is Foo Bar Baz, it should show up in the suggestions when the user types Bar
Changing
Rules/modules/ext.rules/utils/api.js
Lines 48 to 58 in 0ab4c6f
| async function searchCategories( api, query ) { | |
| const data = await fetchApiData( | |
| api, | |
| { | |
| action: 'query', | |
| list: 'allcategories', | |
| acprefix: query, | |
| aclimit: 50 | |
| }, | |
| 'query.allcategories' | |
| ); |
Using the search API might be better (#56 (comment))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers