[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-880-gdef952b

Git repo owner gitmaster at git.koha-community.org
Thu Jul 25 16:54:46 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  def952bda9cd72a4f6916e93ad1c454a04a3cb43 (commit)
      from  61fa246ac06d637d50c8eed68244f0577ed34e4d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit def952bda9cd72a4f6916e93ad1c454a04a3cb43
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Thu Jun 13 09:46:43 2013 -0400

    Bug 10463: ensure that Quote of the Day feature selects random quotes
    
    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 (unless your server's timezone is set to UTC).
    
    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.
    
    Test Plan:
    1) Remove all your quotes and import a fresh set
    2) Enable the quote of the day and view the opac
    3) Look at your quotes table and note the timestamp is incorrect
    4) Repeat steps 1 and 2
    5) Look at your quotes table and note the timestamp is now correct
    
    Signed-off-by: Srdjan <srdjan at catalyst.net.nz>
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/Koha.pm |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list