[Koha-bugs] [Bug 10463] New: Quote of the day feature not selecting random quotes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 13 15:37:20 CEST 2013


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: oleonard at myacpl.org
          Reporter: drnoe at bywatersolutions.com

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.


More information about the Koha-bugs mailing list