Bug 15222 - Add to cart option/other list options missing from OPAC lists display
Summary: Add to cart option/other list options missing from OPAC lists display
Status: Needs documenting
Alias: None
Product: Koha
Classification: Unclassified
Component: Lists (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Katrin Fischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-19 19:42 UTC by HB-NEKLS
Modified: 2023-10-26 07:15 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
This enhancement adds options to the OPAC for adding titles to the cart or another list, from an existing list. (These options already exist in the staff interface.)
Version(s) released in:
23.11.00
Circulation function:


Attachments
Bug 15222: Add to cart option/other list options missing from OPAC lists display (3.85 KB, patch)
2023-08-29 16:46 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 15222: Add to cart option/other list options missing from OPAC lists display (3.90 KB, patch)
2023-09-03 19:13 UTC, David Nind
Details | Diff | Splinter Review
Bug 15222: Add to cart option/other list options missing from OPAC lists display (3.96 KB, patch)
2023-09-21 21:10 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 15222: Add to cart option/other list options missing from OPAC lists display (3.94 KB, patch)
2023-10-05 11:58 UTC, Owen Leonard
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description HB-NEKLS 2015-11-19 19:42:34 UTC
When you view a list in the OPAC, you do not have an option to select item(s) and add to cart or another existing list. The staff side list area has both options.

To recreate: 

1) Go to Staff side of Koha
2) Create a list
3) View list 
4) Note that the options to Add to Cart/other lists is available.
5) Go to OPAC
6) View list previously created
7) Note that the options to Add to Cart/other lists is not available.
Comment 1 HB-NEKLS 2015-11-19 19:50:14 UTC
And I'll clarify -- these options appear under individual items in the OPAC list view, but not at the type, so you can add multiple items at once.
Comment 2 David Cook 2022-03-16 22:32:30 UTC
I had someone point this out to me today. It looks like it's still missing functionality over 6 years later.
Comment 3 Katrin Fischer 2023-08-28 19:36:11 UTC
Another year, still valid ;)
Comment 4 Owen Leonard 2023-08-29 16:46:37 UTC
Created attachment 154909 [details] [review]
Bug 15222: Add to cart option/other list options missing from OPAC lists display

This patch adds the option to add titles to the cart or a list from the
view of a list's contents.

To test you should have at least one public list with titles added.
Apply the patch and go to the OPAC.

- View a public list.
- In the toolbar at the top of the table of titles you should see "Add
  to cart" and "Add to list." The controls should be disabled.
- Check checkboxes for one or more titles on the list.
- The controls should now be enabled.
- Clicking the "Add to cart" button should add the selected titles to
  the cart.
- If you are not logged into the OPAC, clicking the "Add to list" button
  should trigger an alert, "You must be logged in..."
- Log in to the OPAC and view the list again.
- Confirm that the "Add to list" control should trigger a popup allowing
  you to add your selected titles to an existing or a new list.
Comment 5 David Nind 2023-09-03 19:13:21 UTC
Created attachment 155181 [details] [review]
Bug 15222: Add to cart option/other list options missing from OPAC lists display

This patch adds the option to add titles to the cart or a list from the
view of a list's contents.

To test you should have at least one public list with titles added.
Apply the patch and go to the OPAC.

- View a public list.
- In the toolbar at the top of the table of titles you should see "Add
  to cart" and "Add to list." The controls should be disabled.
- Check checkboxes for one or more titles on the list.
- The controls should now be enabled.
- Clicking the "Add to cart" button should add the selected titles to
  the cart.
- If you are not logged into the OPAC, clicking the "Add to list" button
  should trigger an alert, "You must be logged in..."
- Log in to the OPAC and view the list again.
- Confirm that the "Add to list" control should trigger a popup allowing
  you to add your selected titles to an existing or a new list.

Signed-off-by: David Nind <david@davidnind.com>
Comment 6 Katrin Fischer 2023-09-21 21:10:39 UTC
Created attachment 156014 [details] [review]
Bug 15222: Add to cart option/other list options missing from OPAC lists display

This patch adds the option to add titles to the cart or a list from the
view of a list's contents.

To test you should have at least one public list with titles added.
Apply the patch and go to the OPAC.

- View a public list.
- In the toolbar at the top of the table of titles you should see "Add
  to cart" and "Add to list." The controls should be disabled.
- Check checkboxes for one or more titles on the list.
- The controls should now be enabled.
- Clicking the "Add to cart" button should add the selected titles to
  the cart.
- If you are not logged into the OPAC, clicking the "Add to list" button
  should trigger an alert, "You must be logged in..."
- Log in to the OPAC and view the list again.
- Confirm that the "Add to list" control should trigger a popup allowing
  you to add your selected titles to an existing or a new list.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 7 Owen Leonard 2023-10-05 11:58:35 UTC
Created attachment 156572 [details] [review]
Bug 15222: Add to cart option/other list options missing from OPAC lists display

This patch adds the option to add titles to the cart or a list from the
view of a list's contents.

To test you should have at least one public list with titles added.
Apply the patch and go to the OPAC.

- View a public list.
- In the toolbar at the top of the table of titles you should see "Add
  to cart" and "Add to list." The controls should be disabled.
- Check checkboxes for one or more titles on the list.
- The controls should now be enabled.
- Clicking the "Add to cart" button should add the selected titles to
  the cart.
- If you are not logged into the OPAC, clicking the "Add to list" button
  should trigger an alert, "You must be logged in..."
- Log in to the OPAC and view the list again.
- Confirm that the "Add to list" control should trigger a popup allowing
  you to add your selected titles to an existing or a new list.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 8 Tomás Cohen Arazi (tcohen) 2023-10-20 17:46:00 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 9 Fridolin Somers 2023-10-26 06:12:30 UTC
Enhancement not pushed to 23.05.x