views filter and argument integration
lomz - December 2, 2007 - 18:53
| Project: | Scheduler |
| Version: | 5.x-1.8 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
I read a issue for the 4.x-version of Scheduler that the latest version of it should support views, but i'm using 5.x and views, and I can't seem to find scheduler in views. how can I find it?

#1
This is probably a views cache problem. Views field support has been added to scheduler 5.x-1.8 (I'm happily using it) but the views cache can get out of date.
On http://example.com/admin/build/views/tools you have the ability to clear the views cache. Can you do that and then look in the fields for scheduler entries?
#2
I found it, but it is just in the "fields" part of the view, is it possible to use it as a filter? if it is, or is'nt be scheduled?
#3
Changing title to reflect the feature request. I don't think there's another issue for this just yet.
#4
Is this somethings that is easy to fix?
#5
Dupe of #245967: Add sort information for views which is fixed since yesterday
#6
Aaargh. I should learn to read. The other issue is talking about sorting, not filtering...
#7
OK, here we go.
diff'ed against scheduler.module 1.46.4.26
#8
There seems to be an timezone offset issue. Consider the following:
Scheduler: publish on Is Equal To 2008-04-28 15:48:00.
I.e. the timezone is applied twice. BTW, the same seems to apply to fields also. I hope I'm not alone with this :)
I think that this is inherent to the way Scheduler persists datetimes to the db. Scheduler persists them in localized time and not in UTC. I think that we need to change this in 5.x-1.14, which would also remove some timezone shifting/deshifting code in the scheduler. I'm going to write a new issue of this.
However, the scheduler_views_filter patch seems valid nonetheless and does not affect on application logic, so it's going to get included in 5.x-1.13.
http://drupal.org/cvs?commit=113290
#9
In 5.x-1.13.