Some of the older versions had a function to collapse the form on top.
Now I can't find this anymore. Is this function removed?
We have released an add-on with shared functionality of all our "filter" add-ons. The reason for separating this functionality is to make it easier to maintain and to allow for more flexibility in the future.
The following fixes are included in the latest Filter Framework package:
Fix: multiple prefix filter not working
Fix: indexation of array-type custom fields may trigger PHP error
Enhancement: Do not use AJAX for loading filterable list options if there are no more than 30 options
The...
We have just added it the list of related add-ons - https://xenforo.com/community/resources/al-filter-framework.9045/Where can I find this Filter Framework?
Server error log
[LIST]
[*]InvalidArgumentException: Accessed unknown getter 'display_fields' on XF:Forum[129]
[*]src/XF/Mvc/Entity/Entity.php:213
[*]Generated by: Unknown account
[*]Jul 13, 2023 at 9:30 AM
[/LIST]
[HEADING=2]Stack trace[/HEADING]
#0 src/XF/Mvc/Entity/Entity.php(125): XF\Mvc\Entity\Entity->get('display_fields')
#1 internal_data/code_cache/templates/l1/s25/public/thread_list_macros.php(502): XF\Mvc\Entity\Entity->offsetGet('display_fields')
#2 src/XF/Template/Templater.php(990): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#3 src/XF/Template/Templater.php(926): XF\Template\Templater->renderExtensionInternal('meta_cell', Array, Array, Object(XF\Template\ExtensionSet))
#4 internal_data/code_cache/templates/l1/s25/public/thread_list_macros.php(614): XF\Template\Templater->renderExtension('meta_cell', Array, Object(XF\Template\ExtensionSet))
#5 src/XF/Template/Templater.php(827): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#6 internal_data/code_cache/templates/l1/s25/public/svESE_macros.php(67): XF\Template\Templater->callMacro('thread_list_mac...', 'item', Array, Array)
#7 src/XF/Template/Templater.php(827): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#8 internal_data/code_cache/templates/l1/s25/public/svElasticSearchEssentials_widget_similar_threads.php(7): XF\Template\Templater->callMacro('svESE_macros', 'similar_threads', Array, Array)
#9 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#10 src/XF/Widget/WidgetRenderer.php(62): XF\Template\Templater->renderTemplate('svElasticSearch...', Array)
#11 src/XF/Widget/WidgetRenderer.php(67): XF\Widget\WidgetRenderer->render()
#12 src/XF/Template/Templater.php(1939): XF\Widget\WidgetRenderer->__toString()
#13 internal_data/code_cache/templates/l1/s25/public/thread_view.php(1276): XF\Template\Templater->widgetPosition('thread_view_bel...', Array)
#14 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#15 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#16 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#17 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#18 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#20 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#21 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#22 src/XF.php(524): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
Server error log
[LIST]
[*]XFES\Elasticsearch\RequestException: Fielddata is disabled on [field_choice_multiple] in [forum]. Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [field_choice_multiple] in order to load field data by uninverting the inverted index. Note that this can use significant memory.
[*]src/addons/XFES/Elasticsearch/Api.php:424
[*]Generated by: Milkshake
[*]Jul 13, 2023 at 9:35 AM
[/LIST]
[HEADING=2]Stack trace[/HEADING]
#0 src/addons/XFES/Elasticsearch/Api.php(338): XFES\Elasticsearch\Api->request('GET', 'forum/_search', '{
"size": 0...')
#1 src/addons/AL/FilterFramework/Service/ElasticSource.php(204): XFES\Elasticsearch\Api->requestFromIndex('GET', '_search', Array)
#2 src/addons/AL/ThreadFilter/XFES/Search/Source/Elasticsearch.php(74): AL\FilterFramework\Service\ElasticSource->countFacets(Array, Array)
#3 src/addons/AL/ThreadFilter/XF/Search/Search.php(65): AL\ThreadFilter\XFES\Search\Source\Elasticsearch->countFacetsByThreadIds(Array, Array)
#4 src/addons/AL/ThreadFilter/Service/ContentTypeProvider.php(143): AL\ThreadFilter\XF\Search\Search->countFacetsByThreadIds(Array, Array)
#5 src/addons/AL/FilterFramework/Service/FacetedSearchProvider.php(147): AL\ThreadFilter\Service\ContentTypeProvider->countFacetsByDiscussionIds(Array, Array)
#6 src/addons/AL/FilterFramework/Service/ContextProvider.php(759): AL\FilterFramework\Service\FacetedSearchProvider->getFacetCounts(Array, Array, false)
#7 src/addons/AL/ThreadFilter/XF/Pub/Controller/Forum.php(239): AL\FilterFramework\Service\ContextProvider->executeFacetedSearch(Object(SV\ThreadReplyBanTeeth\XF\Finder\Thread), Array)
#8 src/XF/Pub/Controller/Forum.php(243): AL\ThreadFilter\XF\Pub\Controller\Forum->applyDateLimitFilters(Object(AddonFlare\GlobalIgnore\XF\Entity\Forum), Object(SV\ThreadReplyBanTeeth\XF\Finder\Thread), Array)
#9 src/addons/AL/ThreadFilter/XF/Pub/Controller/Forum.php(103): XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#10 src/addons/Andy/ForumModerators/XF/Pub/Controller/Forum.php(12): AL\ThreadFilter\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#11 src/addons/AVForums/PrefixEssentials/XF/Pub/Controller/Forum.php(45): Andy\ForumModerators\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#12 src/addons/Bespoke/SequentialStickies/XF/Pub/Controller/Forum.php(11): AVForums\PrefixEssentials\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#13 src/addons/SV/UserActivity/XF/Pub/Controller/Forum.php(19): Bespoke\SequentialStickies\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#14 src/addons/SV/AggregatingForums/XF/Pub/Controller/Forum.php(37): SV\UserActivity\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#15 src/addons/SV/OptimizedListQueries/XF/Pub/Controller/Forum.php(31): SV\AggregatingForums\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#16 src/addons/SV/StandardLib/XF/Pub/Controller/Forum.php(21): SV\OptimizedListQueries\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#17 src/addons/AddonFlare/GlobalIgnore/XF/Pub/Controller/Forum.php(21): SV\StandardLib\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#18 src/XF/Mvc/Dispatcher.php(352): AddonFlare\GlobalIgnore\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#19 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'Forum', Object(XF\Mvc\RouteMatch), Object(AddonFlare\GlobalIgnore\XF\Pub\Controller\Forum), Object(XF\Mvc\Reply\Reroute))
#20 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(AddonFlare\GlobalIgnore\XF\Pub\Controller\Forum), Object(XF\Mvc\Reply\Reroute))
#21 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#22 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#23 src/XF.php(524): XF\App->run()
#24 index.php(20): XF::runApp('XF\\Pub\\App')
#25 {main}
Where can I find this Filter Framework?
It would be possible to filter by multiple keywords separated by commas?
Like on my pictures, I would like to search "sword school" and/or "wing chun" but not "sword school wing chun" all together.
View attachment 282950View attachment 282951
View attachment 282952
This release updates requirements to the latest version of the Filter Framework, which resolves a compatibility issue with the XenForo 2.2.13 version.
The new version is available for all licensed customers at https://customers.addonslab.com/marketplace.php/my-services/
Thank you!
Not sure anyone else is experiencing this, but when I use the "Enable filterable drop down lists" setting, and the text for my drop-down box is longer than the box width, the text flows out of the side of the box (see below). I really like this feature but it's unusable because of this.
View attachment 290856
When you use drop-down boxes but have the "Enable filterable drop down lists" setting turned off, the text stops at the end of the box and does not overflow. @AddonsLab, is it possible this can be corrected with your next update?
Looping in @Russ, since I'm using Bolt Header style. This isn't an issue with the style is it?
[HEADING=2]Stack trace[/HEADING]
#0 src/addons/AL/ThreadFilter/Service/ContentTypeProvider.php(190): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/oakleyfo/...', 190)
#1 src/addons/AL/ThreadFilter/Job/ThreadField.php(45): AL\ThreadFilter\Service\ContentTypeProvider->getItemBatch(0, 100)
#2 src/addons/AL/ThreadFilter/Job/ThreadField.php(50): AL\ThreadFilter\Job\ThreadField->getItemBatch(0, 100)
#3 src/XF/Job/AbstractRebuildJob.php(30): AL\ThreadFilter\Job\ThreadField->getNextIds(0, 100)
#4 src/XF/Job/Manager.php(260): XF\Job\AbstractRebuildJob->run(8)
#5 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#6 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#7 src/XF/Admin/Controller/Tools.php(141): XF\Job\Manager->runQueue(true, 8)
#8 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#11 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#13 src/XF.php(524): XF\App->run()
#14 admin.php(13): XF::runApp('XF\\Admin\\App')
#15 {main}
I messaged them about an error similar to this when rebuilding thread fields. Maybe they are working on it.Getting this error - Any help is appreciated (also submitted a ticket on your website 5 days ago)
Code:[HEADING=2]Stack trace[/HEADING] #0 src/addons/AL/ThreadFilter/Service/ContentTypeProvider.php(190): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/oakleyfo/...', 190) #1 src/addons/AL/ThreadFilter/Job/ThreadField.php(45): AL\ThreadFilter\Service\ContentTypeProvider->getItemBatch(0, 100) #2 src/addons/AL/ThreadFilter/Job/ThreadField.php(50): AL\ThreadFilter\Job\ThreadField->getItemBatch(0, 100) #3 src/XF/Job/AbstractRebuildJob.php(30): AL\ThreadFilter\Job\ThreadField->getNextIds(0, 100) #4 src/XF/Job/Manager.php(260): XF\Job\AbstractRebuildJob->run(8) #5 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8) #6 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8) #7 src/XF/Admin/Controller/Tools.php(141): XF\Job\Manager->runQueue(true, 8) #8 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag)) #9 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL) #10 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL) #11 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #12 src/XF/App.php(2487): XF\Mvc\Dispatcher->run() #13 src/XF.php(524): XF\App->run() #14 admin.php(13): XF::runApp('XF\\Admin\\App') #15 {main}
We use essential cookies to make this site work, and optional cookies to enhance your experience.