ce2b280903
This patch adds a new column for displaying information about basketgroups in the Acquisition tab on catalogue page for a record. It also adds the number of the basket in the basket column. If the user does not have group_manage permission, he just see the basketgroup name and number. If he has the permission, he can click to display the basketgroup. If the basket is not in a basketgroup, the column is empty. To test: - Use a record in an order, and put the basket in a basketgroup. - Connect with a user WITHOUT group_manage permission (but with order_manage permission). - Go to the record's detail in catalogue and click on Acquisition tab. - Check you see the name and number of the basketgroup, with no link around it. - Check the number of the basket is displayed within () after the name of the basket - Click on the basket link, check the basket displayed is the right one. - Connect with a user WITH group_manage permission. - Go to the record's detail in catalogue and click on Acquisition tab. - Check you see a link with the name and number of the basketgroup. - Click on the link, check the basketgroup displayed is the right one. - On the basketgroup page, move the basket out of the basketgroup, and save the basketgroup. - Go back to the record's page on the catalogue and click on Acquisition tab. - Check the basketgroup column is empty Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Passes all tests and QA script. Signed-off-by: Galen Charlton <gmc@esilibrary.com> |
||
---|---|---|
.. | ||
en | ||
img | ||
sound |