feat: add @extrakto_alt and @extrakto_prefix_name options - #133
Conversation
By default, extrakto_plugin is only showing alternative options to filters and prefixing the results with the name filter whenever we trigger the `all` filters option. extrakto provides us the option to enable or disable both the filter alternatives and the prefixing of the names. This commits allows this option our plugin
ecf524c to
07ac8fc
Compare
|
Thanks, this is a great idea! I do have a suggestion - wouldn't it be even better to change the new options from bool to
|
This requires a couple of small changes but it sounds legit. I will try to adjust in the next days. Thanks for the suggestion @laktak |
…, any and none values
dd09b96 to
f3ddc57
Compare
|
Code has been updated @laktak . It would be cool if you could have another look. Thanks! |
|
Perfect, thank you! |
By default, extrakto_plugin is only showing alternative options to filters and prefixing the results with the name filter whenever we trigger the
allfilters option.extrakto provides us the option to enable or disable both the filter alternatives and the prefixing of the names.
This code allows this option in our plugin.
The code has been modified to follow what was suggested by @laktak in his comment
@extrakto_altallallto only show them for the all filter,anyfor any filter andnonefor never.@extrakto_prefix_nameallallto only show the prefix for the all filter,anyfor any filter andnonefor never.Important note: this code does not affect the
linefilter ( haven't dig through the code enough to know why this one behaves a bit differently 😅 )