Bug 7875: Change the pending suggestion link in home page so that it directs to pendi...
authorMathieu Saby <mathieu.saby@univ-rennes2.fr>
Sat, 9 Mar 2013 16:53:03 +0000 (17:53 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 20 Mar 2013 12:40:43 +0000 (08:40 -0400)
Pending suggestion link from staff client home directs to accepted
suggestions instead of pending suggestions. This patch changes the link
so that it directs to pending suggestions.

To test :
1 - create 2 suggestions, accept 1 of them
2 - click on the link on home page

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt

index 8f1e50f..1a43357 100644 (file)
                     [% IF ( CAN_user_acquisition && pendingsuggestions ) %]
                     <div class="pending-info" id="suggestions_pending">
 
-                        <a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions pending approval</a>:
+                        <a href="/cgi-bin/koha/suggestion/suggestion.pl#ASKED">Suggestions pending approval</a>:
                         <span class="pending-number-link">[% pendingsuggestions %]</span>
                     </div>
                     [% END %]