[Koha-bugs] [Bug 10449] Suggestions pending approval should count only suggestions of current branch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 14 13:25:07 CEST 2013


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #18885|0                           |1
        is obsolete|                            |

--- Comment #2 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 18985
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18985&action=edit
Bug 10449 - Suggestions pending approval should count only suggestions of
current branch

In intranet main page and acquisition home page, a text can display the number
of suggestions pending for approval. When clicking on this like, the
suggestions management page is displayed. In this page, by default, only the
suggestions of current branch are visible.

This patch modifies "Suggestions pending approval" count so that when clicking
on link, you see the same count in "Pending" tab.

Test plan :
- Create pending suggestions in several branches
- Connect with user in koha-conf.xml to have no selected branch (you see NO
LIBRARY SET)
- On main page, look at "Suggestions pending approval"
- Click on this link
- In suggestions management page, click on "Go" near "Status"
=> You see the same count in "Pending" tab
- Come back to main page
- Select a branch (with pending suggestions)
- On main page, look at "Suggestions pending approval"
- Click on this link
=> You see the same count in "Pending" tab

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list