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, new/bug_7093 has been created
        at  6e497471e3341788401f86a06347045aed018a2c (commit)

- Log -----------------------------------------------------------------
commit 6e497471e3341788401f86a06347045aed018a2c
Author: Ian Walls <[email protected]>
Date:   Wed Dec 7 11:43:20 2011 -0500

    Bug 7093: placeholds for suggestion table not working in notices
    
    In parseletter_sth, the suggestions table was defined twice.  The first 
time (which
    is the only definition to get called, as it matches first then exists), 
defined the
    primary search keys as borrowernumber and biblionumber.  This is incorrect; 
the only
    usage of the suggestions table tokens is with suggestionid as the key.  
This is defined
    further down the if/then chain.
    
    This patch removes the erroneous sth query definition.
    
    To test:
    
    1.  Place a suggestion with a patron account with a configured email you 
can access
    2.  Approve or reject it
    3.  Verify the message you receive contains suggestion tokens (like title, 
author and reason)
    
    Signed-off-by: Katrin Fischer <[email protected]>
    Suggestion mails for accepted, rejected and ordered look good now.
    I couldn't test the suggestion mail AVAILABLE (bug 7096), but
    assuming this would work too.
    
    Signed-off-by: Paul Poulain <[email protected]>

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


hooks/post-receive
-- 
main Koha release repository
_______________________________________________
koha-commits mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-commits

Reply via email to