- Issue created by @bourgeoy
- Status changed to Needs review
7 months ago 3:30pm 5 April 2024 - last update
7 months ago Patch Failed to Apply - Status changed to Needs work
7 months ago 6:13am 15 April 2024 - 🇫🇮Finland j-vee Turku, Finland
The patch didn't work for us. Also facing the same issue where the open / closed views filter doesn't work unless caches are cleared, and after that you will only see the correct results once. Disabling the caching in the view itself doesn't help either.
- Status changed to Closed: duplicate
7 months ago 9:29pm 15 April 2024 - 🇳🇱Netherlands johnv
Please check the other issue 🐛 Views with Open/Closed status are not updated Needs review . Your problem should be fixed in #3438820-12: Views with Open/Closed status are not updated →
Same issue. It is not related to https://www.drupal.org/project/office_hours/issues/3438820 🐛 Views with Open/Closed status are not updated Needs review as the open/closd status updates fine. The views filter itself doesn't work at all as per the OPs screenshot - results are the same no matter which filter option is selected.
Tested on Drupal 10.2.5, Office Hours latest 1.x-dev.
- Status changed to Active
6 months ago 10:23am 29 May 2024 - 🇳🇱Netherlands johnv
Reopening due to comments.
FTR, IMO issue 🐛 Views with Open/Closed status are not updated Needs review is now solved in dev-version. - 🇳🇱Netherlands johnv
I am sorry,
testing on 10.2.x and I cannot manage to get the filter invoked upon each view refresh.
Need help from the community here. - Status changed to Fixed
6 months ago 2:22pm 31 May 2024 - 🇳🇱Netherlands johnv
For some reason it is not in a comment, but the following is committed: https://git.drupalcode.org/project/office_hours/-/commit/6a35f717bcf5c3c...
I was just messing with the inclusion of the views hooks:
\Drupal::moduleHandler()->loadInclude('office_hours', 'inc', 'office_hours.views');It should be fixed, now. Please confirm, and I will release a new version.
Not working for me still. Depending on what I configure as open/closed times with my test nodes, the view either shows the same results regardless of exposed filter options or nothing at all.
- 🇳🇱Netherlands johnv
@tunaman, Just to reassure me: you did download latest dev version and cleared all caches?
- 🇳🇱Netherlands johnv
And indeed, I still haven't managed to fix the filter for Anonymous user. See [##3438820]
Automatically closed - issue fixed for 2 weeks with no activity.
Did some debugging - the filter for open/closed status works, but only if it isn't exposed.