- 🇺🇦Ukraine khiminrm
I've also faced with the same issue. I had views based on commerce_invoice entity type and with relation to orders. I had filter for invoice type (bundle) and tried to add exposed filter by the order state. The code of the State filter tried to get bundle of the commerce_invoice filter and to get states for not existing commerce_order bundle - from the value of the commerce_invoice bundle filter.
I've created patch which works for my case and hope will work for others.
- last update
over 1 year ago 27 pass - last update
over 1 year ago 27 pass -
jsacksick →
committed 2e59e5b7 on 8.x-1.x authored by
khiminrm →
Issue #3045520 by khiminrm: Views filter getBundles is fragile.
-
jsacksick →
committed 2e59e5b7 on 8.x-1.x authored by
khiminrm →
- Status changed to Fixed
12 months ago 1:09pm 24 November 2023 - First commit to issue fork.
- Merge request !18Issue #3045520 by khiminrm, jsacksick: Views filter getBundles is fragile → (Merged) created by TomTech
- Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
12 months ago Waiting for branch to pass - Status changed to Needs review
12 months ago 8:06pm 28 November 2023 - 🇺🇸United States TomTech
Added additional handling in the case where multiple type filters may be present, so we can't rely on the filter key.
This also handles multiple type filters and does not treat a filter with the
not in
operator the same as thein
operator. - last update
12 months ago 27 pass -
jsacksick →
committed 7bb0ef9f on 8.x-1.x authored by
TomTech →
Issue #3045520 by khiminrm, jsacksick: Views filter getBundles is...
-
jsacksick →
committed 7bb0ef9f on 8.x-1.x authored by
TomTech →
- Status changed to Fixed
12 months ago 10:20am 29 November 2023 Automatically closed - issue fixed for 2 weeks with no activity.