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?

Comments

greggles’s picture

Status: Active » Postponed (maintainer needs more info)

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?

lomz’s picture

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?

greggles’s picture

Title: Connecting with views » views filter and argument integration
Category: support » feature
Status: Postponed (maintainer needs more info) » Active

Changing title to reflect the feature request. I don't think there's another issue for this just yet.

lomz’s picture

Is this somethings that is easy to fix?

eric-alexander schaefer’s picture

Status: Active » Closed (duplicate)

Dupe of #245967: Add sort information for views which is fixed since yesterday

eric-alexander schaefer’s picture

Status: Closed (duplicate) » Active

Aaargh. I should learn to read. The other issue is talking about sorting, not filtering...

eric-alexander schaefer’s picture

Status: Active » Needs review
StatusFileSize
new1.56 KB

OK, here we go.
diff'ed against scheduler.module 1.46.4.26

skiminki’s picture

Status: Needs review » Fixed

There seems to be an timezone offset issue. Consider the following:

  • I live in +0300 and my test server is configured as such.
  • I have a node that has publish_on 1209386880 and timezone 10800. That is 2008-04-28 12:48:00+03:00
  • If I want to find exactly that node by publish_on view criteria, I need to set

    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

skiminki’s picture

Status: Fixed » Closed (fixed)

In 5.x-1.13.