[Bug 16490] New: Add an "add to cart" link for each search results in the staff client
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Bug ID: 16490 Summary: Add an "add to cart" link for each search results in the staff client Change sponsored?: --- Product: Koha Version: master Hardware: All URL: /cgi-bin/koha/catalogue/search.pl?q=X OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org On the OPAC search results page each line has an "add to cart" link. This lets the user select individual results without having to check a box and scroll all the way to the top. I propose to add this to the staff client search results. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Small patch Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 51383 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51383&action=edit Bug 16490 - Add an "add to cart" link for each search results in the staff client This patch adds an "add to cart" link to each line of search results in the staff client. To test, apply the patch and clear your browser cache if necessary. - Enable the intranetbookbag system preference. - Perform a search which will return multiple search results. - Each result should have an "Add to cart" link. - Clicking the "Add to cart" link should add the title to the cart, triggering the correct pop-up message and changing the link to read "In your cart (remove)." - Clicking the "remove" link should remove the title from your cart and trigger the correct messages. - Add multiple titles to your cart and perform the same search again. Each result should correctly indicate which titles are already in your cart. - Open the cart popup window. - Check the checkbox for one or more titles in your cart and choose "Remove." The titles should be removed, and the "In your cart" label in the search results page should reflect that the titles are no longer in the cart. - Choose "Empty and close." All titles in the parent page should now indicate that they are not in the cart. - Disable the intranetbookbag preference and confirm that the "Add to cart" links are no longer there. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #51383|0 |1 is obsolete| | --- Comment #2 from Marc Véron <veron@veron.ch> --- Created attachment 51384 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51384&action=edit Bug 16490 - Add an "add to cart" link for each search results in the staff client This patch adds an "add to cart" link to each line of search results in the staff client. To test, apply the patch and clear your browser cache if necessary. - Enable the intranetbookbag system preference. - Perform a search which will return multiple search results. - Each result should have an "Add to cart" link. - Clicking the "Add to cart" link should add the title to the cart, triggering the correct pop-up message and changing the link to read "In your cart (remove)." - Clicking the "remove" link should remove the title from your cart and trigger the correct messages. - Add multiple titles to your cart and perform the same search again. Each result should correctly indicate which titles are already in your cart. - Open the cart popup window. - Check the checkbox for one or more titles in your cart and choose "Remove." The titles should be removed, and the "In your cart" label in the search results page should reflect that the titles are no longer in the cart. - Choose "Empty and close." All titles in the parent page should now indicate that they are not in the cart. - Disable the intranetbookbag preference and confirm that the "Add to cart" links are no longer there. Followed test plan. Works as expected. Signed-off-by: Marc Véron <veron@veron.ch> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |veron@veron.ch Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 52520 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52520&action=edit Bug 16490: Tidy updateLink and updateAllLinks -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #52520|0 |1 is obsolete| | --- Comment #4 from Marc Véron <veron@veron.ch> --- Created attachment 52522 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52522&action=edit Bug 16490: Tidy updateLink and updateAllLinks Went through test plan, works as expected. Signed-off-by: Marc Véron <veron@veron.ch> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #51384|0 |1 is obsolete| | Attachment #52522|0 |1 is obsolete| | --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 52525 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52525&action=edit Bug 16490 - Add an "add to cart" link for each search results in the staff client This patch adds an "add to cart" link to each line of search results in the staff client. To test, apply the patch and clear your browser cache if necessary. - Enable the intranetbookbag system preference. - Perform a search which will return multiple search results. - Each result should have an "Add to cart" link. - Clicking the "Add to cart" link should add the title to the cart, triggering the correct pop-up message and changing the link to read "In your cart (remove)." - Clicking the "remove" link should remove the title from your cart and trigger the correct messages. - Add multiple titles to your cart and perform the same search again. Each result should correctly indicate which titles are already in your cart. - Open the cart popup window. - Check the checkbox for one or more titles in your cart and choose "Remove." The titles should be removed, and the "In your cart" label in the search results page should reflect that the titles are no longer in the cart. - Choose "Empty and close." All titles in the parent page should now indicate that they are not in the cart. - Disable the intranetbookbag preference and confirm that the "Add to cart" links are no longer there. Followed test plan. Works as expected. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 --- Comment #6 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 52526 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52526&action=edit Bug 16490: Tidy updateLink and updateAllLinks Went through test plan, works as expected. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Patch doesn't apply CC| |kyle@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #52525|0 |1 is obsolete| | Attachment #52526|0 |1 is obsolete| | --- Comment #7 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 52797 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52797&action=edit Bug 16490 - Add an "add to cart" link for each search results in the staff client This patch adds an "add to cart" link to each line of search results in the staff client. To test, apply the patch and clear your browser cache if necessary. - Enable the intranetbookbag system preference. - Perform a search which will return multiple search results. - Each result should have an "Add to cart" link. - Clicking the "Add to cart" link should add the title to the cart, triggering the correct pop-up message and changing the link to read "In your cart (remove)." - Clicking the "remove" link should remove the title from your cart and trigger the correct messages. - Add multiple titles to your cart and perform the same search again. Each result should correctly indicate which titles are already in your cart. - Open the cart popup window. - Check the checkbox for one or more titles in your cart and choose "Remove." The titles should be removed, and the "In your cart" label in the search results page should reflect that the titles are no longer in the cart. - Choose "Empty and close." All titles in the parent page should now indicate that they are not in the cart. - Disable the intranetbookbag preference and confirm that the "Add to cart" links are no longer there. Followed test plan. Works as expected. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 --- Comment #8 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 52798 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52798&action=edit Bug 16490: Tidy updateLink and updateAllLinks Went through test plan, works as expected. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #9 from Kyle M Hall <kyle@bywatersolutions.com> --- Pushed to master for 16.11, thanks Owen! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16490 Frédéric Demians <frederic@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable CC| |frederic@tamil.fr --- Comment #10 from Frédéric Demians <frederic@tamil.fr> --- Pushed in 16.05. Will be in 16.05.02. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org