Summary: | No way to go back to the basket on uncertain prices page | ||
---|---|---|---|
Product: | Koha | Reporter: | Mathieu Saby <mathsabypro> |
Component: | Acquisitions | Assignee: | Aleisha Amohia <aleisha> |
Status: | CLOSED FIXED | QA Contact: | Katrin Fischer <katrin.fischer> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | aleisha, david, jonathan.druart, lucas, marjorie.barry-vila, michalurban177, rozenn.davenel, severine.queune |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | Sponsored | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
This updates the display of the uncertain prices page (Acquisitions > Uncertain prices):
1. The basket name is now linked to the basket in the list of orders with uncertain prices, making it easier to quickly view the basket.
2. The edit link is now formatted as a button and moved into a column (similar to other areas), instead of being a text link in the order column.
|
Version(s) released in: |
22.11.00
|
Circulation function: | |||
Attachments: |
Bug 10086: Link to go to basket from uncertain prices page
Bug 10086: No way to go back to the basket on uncertain prices page Bug 10086: Link to go to basket from uncertain prices page Bug 10086: No way to go back to the basket on uncertain prices page Bug 10086: Link to go to basket from uncertain prices page Bug 10086: Link to go to basket from uncertain prices page Bug 10086: Link to go to basket from uncertain prices page Bug 10086: (QA follow-up) Fix TT filters |
Description
Mathieu Saby
2013-04-21 10:18:48 UTC
When I click Edit for an order line with uncertain prices, clicking Save and Cancel both take me back to the basket, and the breadcrumbs at the top of the page have a link back to the basket. So i think this bug is no longer valid. However, there should be a link from the uncertain prices page to the basket. So (I hope you don't mind Mathieu) I am just going to adapt this bug to that. Created attachment 60167 [details] [review] Bug 10086: Link to go to basket from uncertain prices page This patch moves the Edit button into an Edit column, styled with bootstrap button and font awesome icon, and adds a link on the basket name to go to the basket. To test; 1) Add an item with uncertain prices to a basket 2) Go to the vendor of the basket 3) Click Uncertain prices on the left 4) Notice 'edit' button does not look like a button, and basket name is not a link 5) Apply patch and refresh page 6) Basket name is now a link. Click to confirm it takes you to the right page 7) Edit button is now in edit column. Confirm it works as expected 8) Confirm you cannot sort on Edit column and the button does not wrap on a narrower browser Sponsored-by: Catalyst IT It works Aleisha, the button looks misplaced. Usually the action buttons are in the last column of the table, do not you think it is better to stick to this rule? Please answer. Created attachment 136471 [details] [review] Bug 10086: No way to go back to the basket on uncertain prices page Fixed the edit button placement to the right-most column and fixed the the displayed information in the order column from calling non-existent variables based on the item. To test: 1) Add an item with uncertain prices to a basket 2) Go to the vendor of the basket 3) Click Uncertain prices on the left 4) Notice 'edit' button does not look like a button, and basket name is not a link 5) Apply patch and refresh page 6) Basket name is now a link. Click to confirm it takes you to the right page 7) Edit button is now in edit column. Confirm it works as expected 8) Confirm you cannot sort on Edit column and the button does not wrap on a narrower browser 9) Check that the correct information is displayed for the order column (title, author, publisher code, publication year, copyright date, isbn) The second patch doesn't apply for me on its own. Created attachment 136505 [details] [review] Bug 10086: Link to go to basket from uncertain prices page This patch moves the Edit button into an Edit column, styled with bootstrap button and font awesome icon, and adds a link on the basket name to go to the basket. To test; 1) Add an item with uncertain prices to a basket 2) Go to the vendor of the basket 3) Click Uncertain prices on the left 4) Notice 'edit' button does not look like a button, and basket name is not a link 5) Apply patch and refresh page 6) Basket name is now a link. Click to confirm it takes you to the right page 7) Edit button is now in edit column. Confirm it works as expected 8) Confirm you cannot sort on Edit column and the button does not wrap on a narrower browser Sponsored-by: Catalyst IT Created attachment 136506 [details] [review] Bug 10086: No way to go back to the basket on uncertain prices page Fixed the edit button placement to the right-most column and fixed the the displayed information in the order column from calling non-existent variables based on the item. To test: 1) Add an item with uncertain prices to a basket 2) Go to the vendor of the basket 3) Click Uncertain prices on the left 4) Notice 'edit' button does not look like a button, and basket name is not a link 5) Apply patch and refresh page 6) Basket name is now a link. Click to confirm it takes you to the right page 7) Edit button is now in edit column. Confirm it works as expected 8) Confirm you cannot sort on Edit column and the button does not wrap on a narrower browser 9) Check that the correct information is displayed for the order column (title, author, publisher code, publication year, copyright date, isbn) The DataTable configuration should have been updated in the second patch, because the wrong columns have disabled sorting. Better than numeric column targeting is targeting by table header cell class. See other templates for " { 'bSortable': false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }," Created attachment 137681 [details] [review] Bug 10086: Link to go to basket from uncertain prices page This patch moves the Edit button into an Edit column, styled with bootstrap button and font awesome icon, and adds a link on the basket name to go to the basket. To test: 1) Add an item with uncertain prices to a basket 2) Go to the vendor of the basket 3) Click Uncertain prices on the left 4) Notice 'edit' button does not look like a button, and basket name is not a link 5) Apply patch and refresh page 6) Basket name is now a link. Click to confirm it takes you to the right page 7) Edit button is now in edit column. Confirm it works as expected 8) Confirm you cannot sort on Edit column and the button does not wrap on a narrower browser 9) Check that the correct information is displayed for the order column (title, author, publisher code, publication year, copyright date, isbn) Sponsored-by: Catalyst IT Created attachment 137737 [details] [review] Bug 10086: Link to go to basket from uncertain prices page This patch moves the Edit button into an Edit column, styled with bootstrap button and font awesome icon, and adds a link on the basket name to go to the basket. To test: 1) Add an item with uncertain prices to a basket 2) Go to the vendor of the basket 3) Click Uncertain prices on the left 4) Notice 'edit' button does not look like a button, and basket name is not a link 5) Apply patch and refresh page 6) Basket name is now a link. Click to confirm it takes you to the right page 7) Edit button is now in edit column. Confirm it works as expected 8) Confirm you cannot sort on Edit column and the button does not wrap on a narrower browser 9) Check that the correct information is displayed for the order column (title, author, publisher code, publication year, copyright date, isbn) Sponsored-by: Catalyst IT Signed-off-by: David Nind <david@davidnind.com> Created attachment 138854 [details] [review] Bug 10086: Link to go to basket from uncertain prices page This patch moves the Edit button into an Edit column, styled with bootstrap button and font awesome icon, and adds a link on the basket name to go to the basket. To test: 1) Add an item with uncertain prices to a basket 2) Go to the vendor of the basket 3) Click Uncertain prices on the left 4) Notice 'edit' button does not look like a button, and basket name is not a link 5) Apply patch and refresh page 6) Basket name is now a link. Click to confirm it takes you to the right page 7) Edit button is now in edit column. Confirm it works as expected 8) Confirm you cannot sort on Edit column and the button does not wrap on a narrower browser 9) Check that the correct information is displayed for the order column (title, author, publisher code, publication year, copyright date, isbn) Sponsored-by: Catalyst IT Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Created attachment 138855 [details] [review] Bug 10086: (QA follow-up) Fix TT filters Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Pushed to master for 22.11. Nice work everyone, thanks! Enhancement will not be backported to 22.05.x series |