http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10463

            Bug ID: 10463
           Summary: Quote of the day feature not selecting random quotes
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: 3.10
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: OPAC
          Assignee: [email protected]
          Reporter: [email protected]

When the Quote of the Day tool selects a new new quote, it updates the
timestamp and does not take the timezone into account.  Thus the time is set to
+4 hours (e.g. 2013-06-11 13:33:48 when the time is 2013-06-11 09:33:48).  It
then repeats the same quote every day.

To replicate:

set Administration >> System preferences >> OPAC preferences >> Features >>
QuoteOfTheDay to Enable

In Home >> Tools >> Quote Editor, add several quotes.

In the opac, refresh the home page. You should get a quote of the day at the
top.

mysql> select * from quotes;

note the timestamp of the quote selected by the tool. It will not match the
date on the machine.

If you change the date to the previous date and refresh the opac, the tool
wlill select another quote, which will not change unless forced.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to