Search

I'm testing an upgrade of my site from S2 br5 -> S2.0 -> S2.0.1 -> S2.0.2. It all seems to be working except I had some modified code to allow the "earlier than" and "later than" date filtering in my data sources.

In 2.02, it seems to work, (see this bug fix) but the DS always pulls the current entry. I have to make the DS get the first 2 entries.

I want it to just grab the next/previous entry, not the current one.

Here's my date value in my earlier/later data sources: (I'm showing a max of 2 results so I can get the value I want.)

  earlier than {$ds-article-main}
  later than {$ds-article-main}

Here are the params I get:

  $ds-article-main         '2009-02-03 13:41:32'
  $ds-article-next          '2009-02-03 13:41:32, 2009-02-16 23:25:30'
  $ds-article-previous    '2009-02-03 13:41:32, 2008-10-16 00:14:35'

This still doesn't seem right to me. Has anyone tried this and have been successful?

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details