eZ Community » Forums » Extensions » Should the eZ Find "facetParameters"...
expandshrink

Should the eZ Find "facetParameters" fetch function be deprecated or removed?

Should the eZ Find "facetParameters" fetch function be deprecated or removed?

Friday 07 September 2012 7:31:13 pm

We just encountered an install that is using:

{def $facetParameters  = fetch( 'ezfind', 'facetParameters' )}

This uses ezfModuleFunctionCollection::getFacetParameters():

https://github.com/ezsystems/ezfind/blob/master/classes/ezfmodulefunctioncollection.php#L51

getFacetParameters() seems to be an outdated approach, looping through "facet_" GET parameters. Other installs we've set up and also all default eZ Find templates use "activeFacets" GET parameters to figure out current facets, and the "getDefaultSearchFacets" fetch function to generate the list of available facets. Customizations to this are simply built manually, but never by using "facet_" GET parameters.

Should we deprecate or remove the "facetParameters" fetch function?

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from