Closed (won't fix)
Project:
Date
Version:
6.x-2.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2011 at 15:48 UTC
Updated:
26 Oct 2018 at 02:49 UTC
Jump to comment: Most recent
I updated to the 6.x-2.x-dev and now relative value date defaults I set in my View display are not being applied to my date field exposed filter in a View. I am using Views 6.x-2.12
After checking out the git repo it seems there were some changes to how the date_api handles the default date, but I do not have enough knowledge of the surrounding code to completely understand what is going.
I wish I could help fix this but learning the ins and outs of the date module will be time consuming for me.
Comments
Comment #1
ice5nake commentedActually I should also mention that I had a similar problem with this in the previous version. Previously the default value would be applied to the listing but not displayed. Now it is not even applied to the listing.
As well, the previous version I was running would display the defaults on subsequent searches if I was an authenticated user.
Comment #2
ice5nake commentedI have reverted to 6.x-2.7. I discovered that when I set this filter to "Optional" the default information is used. This is not mentioned in the "Configure filter" information anywhere within the View display settings. I found this very peculiar and assume this is still a bug and not working as intended.
Comment #3
danielstrum commentedI have changed this to an issue with 6.x-2.8. This bug has made this version unusable for me as I now have a list of hundreds of items instead of maybe 10 (I was limiting the default filter to 3 months back from "now" on a site that has 7 years of content). Since 2.7 has a security issue, this puts me in a bad position. I have reverted to 6.x-2.7 but would love a workaround. Working on the code is beyond my ability or I would try to help. Thanks.
Comment #4
arlinsandbulte commentedJust a note:
While I don't mean to diminish the importance of fixing security holes, the security issue fixed in Date 6.x-2.8 is, IMO, not something most sites will need to worry about:
http://drupal.org/node/1401434
From the security announcement:
So, only if you have Date Tools enabled, & only if you used the Event module in the past, and only if you have an inexperienced or untrusted user with the role "administer Date Tools" will this security issue be any concern to you.
Comment #5
danielstrum commentedYes... This is why I am still able to use 6.x-2.7. I do appreciate your note... thanks for posting it. The main issue for me right now is the the site sends out security update notices so, if there is a "real" update needed, it is not obvious (def a minor issue). However, moving forward, I hope this bug is fixed in the next version. Thanks for all your work!
Comment #6
damienmckennaUnfortunately the Drupal 6 version of the Date module is no longer supported. That said, we appreciate that you took time to work on this issue. Should this request still be relevant for Drupal 7 please feel free to reopen it. Thank you.