- 🇳🇿New Zealand jonathan_hunt
Patch #25 applies to 3.0.0-beta1 and works. However, I have another facet (a) on the same page as facet (b) with base path. facet (a) does not have base path set, and if facet (a) is submitted first, the base path on facet (b) is ignored when the facets are re-rendered.
- 🇨🇭Switzerland mistrae
Had to switch
isRenderedInCurrentRequest
aftergetBasePath
or it was always trigerred byisRenderedInCurrentRequest
. - 🇨🇭Switzerland DamienMo
Adde missing "use Drupal\Core\Path\PathValidatorInterface;" in FacetForm.php Causing an error on facet edition page.
The error was:
TypeError: Drupal\facets\Form\FacetForm::__construct(): Argument #6 ($pathValidator) must be of type Drupal\facets\Form\PathValidatorInterface, Drupal\Core\Path\PathValidator given