It would be nice to support multiple facet values for other facets block condition.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 2784945-5.patch | 5.47 KB | mpp |
| #2 | 2784945.patch | 2.08 KB | mpp |
It would be nice to support multiple facet values for other facets block condition.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 2784945-5.patch | 5.47 KB | mpp |
| #2 | 2784945.patch | 2.08 KB | mpp |
Comments
Comment #2
mpp commentedComment #3
borisson_That's great, this will need extra tests to ensure that this will work though, at least in IntegrationTest::testFacetDependencies. Tests currently still fail, so we're blocked on #2784849: Tests fail w/ out of memory error., #2777483: Unmet dependencies.
Comment #6
mpp commentedHi! I added some tests to OtherFacetTest to check its behavior with multiple (active & inactive) values.
Drupal\Tests\facets\Unit\Plugin\Condition\OtherFacetTest now gives 7 passes, 0 fails, 0 exceptions
About the dependencies issue and class not found, isn't that a core issue?
Comment #7
borisson_I think Christian also provided a patch for this in #2792847: OtherFacet condition - non-empty and multiple values, can you confirm that this is a duplicate? We can probably close this issue and keep working on that one? At the very least, an additional review on that patch would be very much appreciated.
Comment #8
mpp commentedThis is indeed a duplicate of #2792847, closing.
Comment #9
mpp commented