[Koha-bugs] [Bug 31391] Staff-side recalls

2025-01-07 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Martin Renvoize (ashimema)  changed:

   What|Removed |Added

 QA Contact|martin.renvoize@ptfs-europe |testo...@bugs.koha-communit
   |.com|y.org

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Lucas Gass (lukeg)  changed:

   What|Removed |Added

 CC||lu...@bywatersolutions.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Katrin Fischer  changed:

   What|Removed |Added

   Keywords||rel_25_05_candidate

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Pedro Amorim  changed:

   What|Removed |Added

 Attachment #173839|0   |1
is obsolete||

--- Comment #93 from Pedro Amorim  ---
Created attachment 174822
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174822&action=edit
Bug 31391: RecallsInterface system preference

Signed-off-by: David 
Signed-off-by: David Nind 
Signed-off-by: Pedro Amorim 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #103 from Pedro Amorim  ---
Have signed-off as the observations I'm listing below are minor and quickly
fixable (adding the ones from comment #92 here to have them all in a single
comment):

1) 
In koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt

We have
  IF Koha.Preference('UseRecalls') != "off"

Should it not be
  IF Koha.Preference('UseRecalls').match('opac)

i.e. do we want to show this on this template if UseRecalls = 'staff'? 

2)
In opac-recall.pl:
Shouldn't the check for if($op eq 'cud-cancel) be inside the if (
C4::Context->preference('UseRecalls') =~ m/opac/ ) check?

3)
Occurrences of:
  
Should be using .btn-primary

4)
I believe occurrences of:
  div class="dialog alert"
Should be
  div class="alert alert-warning"

5)
At first it seems recalls_per_record was buggy as I had it configured as 5 but
was placing 10 recalls on a biblio record. I then realized 'record' in
recalls_per_record refers to the patron record (?) and is consistent with the
other circulation rules.

6)
Bug 23269 should be rebased on this or vice-versa.
I believe recalls API endpoints will be needed for bug 23269.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Pedro Amorim  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Pedro Amorim  changed:

   What|Removed |Added

 Attachment #173842|0   |1
is obsolete||

--- Comment #96 from Pedro Amorim  ---
Created attachment 174825
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174825&action=edit
Bug 31391: Request recalls and convert reserves on staff interface

This enhancement adds the ability to place recalls via the staff
interface by introducing a system preference, RecallsInterface, to
configure where recalls can be placed. Recalls can either be placed via
the OPAC, or the staff interface, or both. This is set to OPAC by
default to be consistent with current behaviour.

This enhancement also adds the ability to convert existing reserves to
recalls easily via the staff interface. The reserve will be cancelled
and a recall placed using the reserve's information.

To test:
1) Update database and restart services
2) Enable UseRecalls and set the relevant recalls circulation rules
3) View the new RecallsInterface system preference. Confirm it is set to
OPAC only by default
4) Check out Item A to Patron B.
5) Log into the OPAC as Patron A. Confirm you can place, view and cancel
recalls as normal.
6) In the staff interface, set RecallsInterface to Staff interface only.
7) In the OPAC, confirm you can still view and cancel recalls, but can
no longer place recalls.
8) In the staff interface, search for Item A and go to the Reserves tab.
Place a reserve for Patron C.
9) Under the Priority column, select the dropdown and choose the recall
option next to your reserve.
10) Click Update holds. Confirm when the page refreshes that your
reserve has disappeared.
11) Go to the recalls tab. Confirm your reserve has been converted to a
recall, and details like the patron, expiration, and pickup location have
carried across to the recall.
12) On this recalls page, use the patron search to find Patron D. Test
placing a record-level recall by keeping the 'recall next available
item' checkbox.
13) When the page refreshes, confirm the recall was successfully placed
with the correct details stored.
14) Repeat steps 12 and 13 with Patron E, this time place an item-level
recall by choosing an item in the 'place a recall on a specific item'
table. When selecting one of these items, the 'recall next available
item' checkbox should de-select.
15) Set RecallsInterface back to OPAC only. Go back to the record and
view the Recalls tab.
16) Confirm you cannot search for a patron to place a recall, but can
still view and cancel recalls. Confirm you also cannot convert reserves
to recalls.
17) Set RecallsInterface to both staff interface and OPAC. Confirm you
can place recalls on both interfaces.
18) On the staff interface, test placing recalls that your circulation
rules do not allow. For example, if 'recalls per record' is 1, ensure
you're blocked from placing a second recall on a record for a patron.
19) Place a reserve for one of the patron's that already has a recall.
Once complete, try to convert this reserve into a recall. Confirm you
are blocked and shown a message that the hold cannot be converted to a
recall.
20) Ensure tests pass t/db_dependent/Holds.t

Sponsored-by: Auckland University of Technology

Signed-off-by: David 
Signed-off-by: David Nind 
Signed-off-by: Pedro Amorim 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Pedro Amorim  changed:

   What|Removed |Added

 Attachment #173843|0   |1
is obsolete||

--- Comment #97 from Pedro Amorim  ---
Created attachment 174826
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174826&action=edit
Bug 31391: (follow-up) Fix cancel recalls using checkbox

Signed-off-by: David 
Signed-off-by: David Nind 
Signed-off-by: Pedro Amorim 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Pedro Amorim  changed:

   What|Removed |Added

 Attachment #174396|0   |1
is obsolete||

--- Comment #102 from Pedro Amorim  ---
Created attachment 174831
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174831&action=edit
Bug 31391: (follow-up) Include changed requirements of patron autocomplete,
datatable

Signed-off-by: Pedro Amorim 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Pedro Amorim  changed:

   What|Removed |Added

 Attachment #173847|0   |1
is obsolete||

--- Comment #101 from Pedro Amorim  ---
Created attachment 174830
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174830&action=edit
Bug 31391: Update the UseRecalls system preference to have choices

Options are:
* off
* opac
* staff
* opac_and_staff

This patch implements this all over the place.

All recalls things should still work including the above test plan.

Tests should pass:

* t/db_dependent/Circulation.t
* t/db_dependent/Circulation/transferbook.t
* t/db_dependent/Holds.t
* t/db_dependent/Koha/Biblio.t
* t/db_dependent/Koha/Item.t
* t/db_dependent/SIP/Transaction.t
* t/db_dependent/Search.t
* t/db_dependent/XSLT.t

Sponsored-by: Auckland University of Technology
Sponsored-by: Catalyst IT
Signed-off-by: Pedro Amorim 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Pedro Amorim  changed:

   What|Removed |Added

 Attachment #173846|0   |1
is obsolete||

--- Comment #100 from Pedro Amorim  ---
Created attachment 174829
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174829&action=edit
Bug 31391: Test fixes

Signed-off-by: David Nind 
Signed-off-by: Pedro Amorim 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Pedro Amorim  changed:

   What|Removed |Added

 Attachment #173845|0   |1
is obsolete||

--- Comment #99 from Pedro Amorim  ---
Created attachment 174828
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174828&action=edit
Bug 31391: Interface and wording fixes

This patch includes the following fixes:
- Making the atomic updates executable
- Preventing warns when running tests
- Updating db updates
- Fixing terminology
- Make 'cancel selected recalls' button yellow
- Fix HTML makeup of recalls request page
- Show a warning when placing a recall if there is already a
record-level hold by this patron
- Show a link to mark a hold for conversion which selects the recall
option on holds page
- Include changes to patron search dropdown
- add 'mark hold for conversion to recall' column to columns settings

Signed-off-by: David Nind 
Signed-off-by: Pedro Amorim 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Pedro Amorim  changed:

   What|Removed |Added

 Attachment #173844|0   |1
is obsolete||

--- Comment #98 from Pedro Amorim  ---
Created attachment 174827
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174827&action=edit
Bug 31391: (follow-up) Fix number of tests and terminology

Fixed two items:
- Number of tests: changed to 77 (from 76), tests now pass
- Terminology: changed message when attempting to place recalls
from the staff interface when RecallsInterface in set to the OPAC
only (staff client should be staff interface)

Signed-off-by: David 
Signed-off-by: David Nind 
Signed-off-by: Pedro Amorim 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Pedro Amorim  changed:

   What|Removed |Added

 Attachment #173841|0   |1
is obsolete||

--- Comment #95 from Pedro Amorim  ---
Created attachment 174824
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174824&action=edit
Bug 31391: Implement RecallsInterface on OPAC

Signed-off-by: David 
Signed-off-by: David Nind 
Signed-off-by: Pedro Amorim 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Pedro Amorim  changed:

   What|Removed |Added

 Attachment #173840|0   |1
is obsolete||

--- Comment #94 from Pedro Amorim  ---
Created attachment 174823
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174823&action=edit
Bug 31391: Recalled authorised value for hold cancellation

Signed-off-by: David 
Signed-off-by: David Nind 
Signed-off-by: Pedro Amorim 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-19 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #92 from Pedro Amorim  ---
Hey looking here, some minor observations (these may not be issues and are
possibly caused by my lack of understanding - follow-up as you see fit):

In koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt

We have
IF Koha.Preference('UseRecalls') != "off"

Should it not be
IF Koha.Preference('UseRecalls').match('opac)

i.e. do we want to show this on this template if UseRecalls = 'staff'? 

In opac-recall.pl:
Shouldn't the check for if($op eq 'cud-cancel) be inside the if (
C4::Context->preference('UseRecalls') =~ m/opac/ ) check?

-


Code looks good and QA script is happy. I'll follow the test plan soon and
provide a SO if all is well.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-11 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Status|Failed QA   |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-11 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #91 from Aleisha Amohia  ---
Created attachment 174396
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174396&action=edit
Bug 31391: (follow-up) Include changed requirements of patron autocomplete,
datatable

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-11-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Status|Needs Signoff   |Failed QA

--- Comment #90 from David Nind  ---
(In reply to Aleisha Amohia from comment #89)
> I've rebased patches and hopefully improved the styling of the error
> message, but I would like to work on improving the content of the error
> message in a follow-up bug.

Hi Aleisha.

Thanks for rebasing!

I've changed the status to Failed QA as:

1. I can't place a recall using the staff interface (with staff interface or
both selected for placing recalls):
   1.1 Patron search box doesn't work as expected, so can't select a patron to
place a recall for: autocomplete doesn't work, search brings you to an empty
record, browse by last name does nothing (the autocomplete still works on the
holds section).
   1.2 Couldn't test steps 12-14, 17-19.


Testing notes (using KTD):
1. Test plan: with follow-up patches, there is now only one system preference
UseRecalls, you can select which interfaces to allow recalls to be placed from

Other notes:
1. With recalls allowed from the staff interface only and an existing recall:
   1.1 In the OPAC, the status for the record as a "Recall" in a button, under
"Checked out".
   1.2 If you click "Recall" you get "Recalls have not been enabled. Please
contact your library." on the account's "Recalls history" section.
   1.3 Not sure if that is what is expected or not.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #172167|0   |1
is obsolete||

--- Comment #81 from Aleisha Amohia  ---
Created attachment 173840
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173840&action=edit
Bug 31391: Recalled authorised value for hold cancellation

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Blocks||38320


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38320
[Bug 38320] Improve messages for impossible recalls
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #89 from Aleisha Amohia  ---
I've rebased patches and hopefully improved the styling of the error message,
but I would like to work on improving the content of the error message in a
follow-up bug.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #172173|0   |1
is obsolete||

--- Comment #87 from Aleisha Amohia  ---
Created attachment 173846
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173846&action=edit
Bug 31391: Test fixes

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #172174|0   |1
is obsolete||

--- Comment #88 from Aleisha Amohia  ---
Created attachment 173847
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173847&action=edit
Bug 31391: Update the UseRecalls system preference to have choices

Options are:
* off
* opac
* staff
* opac_and_staff

This patch implements this all over the place.

All recalls things should still work including the above test plan.

Tests should pass:

* t/db_dependent/Circulation.t
* t/db_dependent/Circulation/transferbook.t
* t/db_dependent/Holds.t
* t/db_dependent/Koha/Biblio.t
* t/db_dependent/Koha/Item.t
* t/db_dependent/SIP/Transaction.t
* t/db_dependent/Search.t
* t/db_dependent/XSLT.t

Sponsored-by: Auckland University of Technology
Sponsored-by: Catalyst IT

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #172172|0   |1
is obsolete||

--- Comment #86 from Aleisha Amohia  ---
Created attachment 173845
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173845&action=edit
Bug 31391: Interface and wording fixes

This patch includes the following fixes:
- Making the atomic updates executable
- Preventing warns when running tests
- Updating db updates
- Fixing terminology
- Make 'cancel selected recalls' button yellow
- Fix HTML makeup of recalls request page
- Show a warning when placing a recall if there is already a
record-level hold by this patron
- Show a link to mark a hold for conversion which selects the recall
option on holds page
- Include changes to patron search dropdown
- add 'mark hold for conversion to recall' column to columns settings

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #172171|0   |1
is obsolete||

--- Comment #85 from Aleisha Amohia  ---
Created attachment 173844
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173844&action=edit
Bug 31391: (follow-up) Fix number of tests and terminology

Fixed two items:
- Number of tests: changed to 77 (from 76), tests now pass
- Terminology: changed message when attempting to place recalls
from the staff interface when RecallsInterface in set to the OPAC
only (staff client should be staff interface)

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #172169|0   |1
is obsolete||

--- Comment #83 from Aleisha Amohia  ---
Created attachment 173842
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173842&action=edit
Bug 31391: Request recalls and convert reserves on staff interface

This enhancement adds the ability to place recalls via the staff
interface by introducing a system preference, RecallsInterface, to
configure where recalls can be placed. Recalls can either be placed via
the OPAC, or the staff interface, or both. This is set to OPAC by
default to be consistent with current behaviour.

This enhancement also adds the ability to convert existing reserves to
recalls easily via the staff interface. The reserve will be cancelled
and a recall placed using the reserve's information.

To test:
1) Update database and restart services
2) Enable UseRecalls and set the relevant recalls circulation rules
3) View the new RecallsInterface system preference. Confirm it is set to
OPAC only by default
4) Check out Item A to Patron B.
5) Log into the OPAC as Patron A. Confirm you can place, view and cancel
recalls as normal.
6) In the staff interface, set RecallsInterface to Staff interface only.
7) In the OPAC, confirm you can still view and cancel recalls, but can
no longer place recalls.
8) In the staff interface, search for Item A and go to the Reserves tab.
Place a reserve for Patron C.
9) Under the Priority column, select the dropdown and choose the recall
option next to your reserve.
10) Click Update holds. Confirm when the page refreshes that your
reserve has disappeared.
11) Go to the recalls tab. Confirm your reserve has been converted to a
recall, and details like the patron, expiration, and pickup location have
carried across to the recall.
12) On this recalls page, use the patron search to find Patron D. Test
placing a record-level recall by keeping the 'recall next available
item' checkbox.
13) When the page refreshes, confirm the recall was successfully placed
with the correct details stored.
14) Repeat steps 12 and 13 with Patron E, this time place an item-level
recall by choosing an item in the 'place a recall on a specific item'
table. When selecting one of these items, the 'recall next available
item' checkbox should de-select.
15) Set RecallsInterface back to OPAC only. Go back to the record and
view the Recalls tab.
16) Confirm you cannot search for a patron to place a recall, but can
still view and cancel recalls. Confirm you also cannot convert reserves
to recalls.
17) Set RecallsInterface to both staff interface and OPAC. Confirm you
can place recalls on both interfaces.
18) On the staff interface, test placing recalls that your circulation
rules do not allow. For example, if 'recalls per record' is 1, ensure
you're blocked from placing a second recall on a record for a patron.
19) Place a reserve for one of the patron's that already has a recall.
Once complete, try to convert this reserve into a recall. Confirm you
are blocked and shown a message that the hold cannot be converted to a
recall.
20) Ensure tests pass t/db_dependent/Holds.t

Sponsored-by: Auckland University of Technology

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #172170|0   |1
is obsolete||

--- Comment #84 from Aleisha Amohia  ---
Created attachment 173843
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173843&action=edit
Bug 31391: (follow-up) Fix cancel recalls using checkbox

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #172168|0   |1
is obsolete||

--- Comment #82 from Aleisha Amohia  ---
Created attachment 173841
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173841&action=edit
Bug 31391: Implement RecallsInterface on OPAC

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #172166|0   |1
is obsolete||
 Attachment #172175|0   |1
is obsolete||

--- Comment #80 from Aleisha Amohia  ---
Created attachment 173839
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173839&action=edit
Bug 31391: RecallsInterface system preference

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Status|ASSIGNED|Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Status|Patch doesn't apply |ASSIGNED

--- Comment #79 from Aleisha Amohia  ---
(In reply to Pedro Amorim from comment #78)
> Hi Aleisha, providing my input here.
> Patch doesn't apply (sorry!). I'll try to come back faster next you're
> available to rebase.
> 
> I've taken a look at the WIP patch. At first glance, it looks good, but it
> also looks like it may be a bit out of scope of the original intent here,
> which is to provide staff-side recalls, so I don't think it should be reason
> enough to block the whole thing because of it. Your call if you think we
> should tackle it here or perhaps better on a follow-up bug.
> Having said that, I'll look again once it applies again.

Thanks Pedro. It does feel wider than the original scope of the bug.

I'll see what I can do to address the earlier comments whilst keeping this
within the scope.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-29 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Pedro Amorim  changed:

   What|Removed |Added

 Status|ASSIGNED|Patch doesn't apply

--- Comment #78 from Pedro Amorim  ---
Hi Aleisha, providing my input here.
Patch doesn't apply (sorry!). I'll try to come back faster next you're
available to rebase.

I've taken a look at the WIP patch. At first glance, it looks good, but it also
looks like it may be a bit out of scope of the original intent here, which is
to provide staff-side recalls, so I don't think it should be reason enough to
block the whole thing because of it. Your call if you think we should tackle it
here or perhaps better on a follow-up bug.
Having said that, I'll look again once it applies again.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-25 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Martin Renvoize (ashimema)  changed:

   What|Removed |Added

   Keywords||RM_priority, roadmap_24_11,
   ||roadmap_25_05

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-10-18 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #77 from Katrin Fischer  ---
I am not sure I can help much with the questions on development side, but
please let me know once this is ready for testing again and happy to help with
that.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-09-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #158830|0   |1
is obsolete||

--- Comment #71 from Aleisha Amohia  ---
Created attachment 172171
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172171&action=edit
Bug 31391: (follow-up) Fix number of tests and terminology

Fixed two items:
- Number of tests: changed to 77 (from 76), tests now pass
- Terminology: changed message when attempting to place recalls
from the staff interface when RecallsInterface in set to the OPAC
only (staff client should be staff interface)

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-09-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #158826|0   |1
is obsolete||

--- Comment #67 from Aleisha Amohia  ---
Created attachment 172167
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172167&action=edit
Bug 31391: Recalled authorised value for hold cancellation

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-09-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #76 from Aleisha Amohia  ---
Hi Matrin, Pedro and David

I have:
- rebased the patches
- implemented UseRecalls to have choices so that RecallsInterface isn't needed
- begun working on the recalls error messages

This ends up causing significant changes to the existing recalls logic so I
wanted to check my approach before I get too deep.

Could you please look at the latest WIP patch and let me know if this is what
you had in mind for implementing those error messages?

Something I'm concerned about in particular is that included more detailed
error messages means you can no longer do `if ( $biblio->can_be_recalled )` as
it returns a string which Perl interprets at `true`.

Would appreciate any thoughts or ideas.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-09-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #158828|0   |1
is obsolete||

--- Comment #69 from Aleisha Amohia  ---
Created attachment 172169
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172169&action=edit
Bug 31391: Request recalls and convert reserves on staff interface

This enhancement adds the ability to place recalls via the staff
interface by introducing a system preference, RecallsInterface, to
configure where recalls can be placed. Recalls can either be placed via
the OPAC, or the staff interface, or both. This is set to OPAC by
default to be consistent with current behaviour.

This enhancement also adds the ability to convert existing reserves to
recalls easily via the staff interface. The reserve will be cancelled
and a recall placed using the reserve's information.

To test:
1) Update database and restart services
2) Enable UseRecalls and set the relevant recalls circulation rules
3) View the new RecallsInterface system preference. Confirm it is set to
OPAC only by default
4) Check out Item A to Patron B.
5) Log into the OPAC as Patron A. Confirm you can place, view and cancel
recalls as normal.
6) In the staff interface, set RecallsInterface to Staff interface only.
7) In the OPAC, confirm you can still view and cancel recalls, but can
no longer place recalls.
8) In the staff interface, search for Item A and go to the Reserves tab.
Place a reserve for Patron C.
9) Under the Priority column, select the dropdown and choose the recall
option next to your reserve.
10) Click Update holds. Confirm when the page refreshes that your
reserve has disappeared.
11) Go to the recalls tab. Confirm your reserve has been converted to a
recall, and details like the patron, expiration, and pickup location have
carried across to the recall.
12) On this recalls page, use the patron search to find Patron D. Test
placing a record-level recall by keeping the 'recall next available
item' checkbox.
13) When the page refreshes, confirm the recall was successfully placed
with the correct details stored.
14) Repeat steps 12 and 13 with Patron E, this time place an item-level
recall by choosing an item in the 'place a recall on a specific item'
table. When selecting one of these items, the 'recall next available
item' checkbox should de-select.
15) Set RecallsInterface back to OPAC only. Go back to the record and
view the Recalls tab.
16) Confirm you cannot search for a patron to place a recall, but can
still view and cancel recalls. Confirm you also cannot convert reserves
to recalls.
17) Set RecallsInterface to both staff interface and OPAC. Confirm you
can place recalls on both interfaces.
18) On the staff interface, test placing recalls that your circulation
rules do not allow. For example, if 'recalls per record' is 1, ensure
you're blocked from placing a second recall on a record for a patron.
19) Place a reserve for one of the patron's that already has a recall.
Once complete, try to convert this reserve into a recall. Confirm you
are blocked and shown a message that the hold cannot be converted to a
recall.
20) Ensure tests pass t/db_dependent/Holds.t

Sponsored-by: Auckland University of Technology

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-09-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #75 from Aleisha Amohia  ---
Created attachment 172175
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172175&action=edit
Bug 31391: [WIP] Better recalls error messages

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-09-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #74 from Aleisha Amohia  ---
Created attachment 172174
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172174&action=edit
Bug 31391: Update the UseRecalls system preference to have choices

Options are:
* off
* opac
* staff
* opac_and_staff

This patch implements this all over the place.

All recalls things should still work including the above test plan.

Tests should pass:

* t/db_dependent/Circulation.t
* t/db_dependent/Circulation/transferbook.t
* t/db_dependent/Holds.t
* t/db_dependent/Koha/Biblio.t
* t/db_dependent/Koha/Item.t
* t/db_dependent/SIP/Transaction.t
* t/db_dependent/Search.t
* t/db_dependent/XSLT.t

Sponsored-by: Auckland University of Technology
Sponsored-by: Catalyst IT

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-09-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #158832|0   |1
is obsolete||

--- Comment #73 from Aleisha Amohia  ---
Created attachment 172173
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172173&action=edit
Bug 31391: Test fixes

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-09-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #158831|0   |1
is obsolete||

--- Comment #72 from Aleisha Amohia  ---
Created attachment 172172
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172172&action=edit
Bug 31391: Interface and wording fixes

This patch includes the following fixes:
- Making the atomic updates executable
- Preventing warns when running tests
- Updating db updates
- Fixing terminology
- Make 'cancel selected recalls' button yellow
- Fix HTML makeup of recalls request page
- Show a warning when placing a recall if there is already a
record-level hold by this patron
- Show a link to mark a hold for conversion which selects the recall
option on holds page
- Include changes to patron search dropdown
- add 'mark hold for conversion to recall' column to columns settings

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-09-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #158829|0   |1
is obsolete||

--- Comment #70 from Aleisha Amohia  ---
Created attachment 172170
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172170&action=edit
Bug 31391: (follow-up) Fix cancel recalls using checkbox

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-09-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #158827|0   |1
is obsolete||

--- Comment #68 from Aleisha Amohia  ---
Created attachment 172168
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172168&action=edit
Bug 31391: Implement RecallsInterface on OPAC

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-09-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #158825|0   |1
is obsolete||

--- Comment #66 from Aleisha Amohia  ---
Created attachment 172166
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172166&action=edit
Bug 31391: RecallsInterface system preference

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-08-21 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Martin Renvoize  changed:

   What|Removed |Added

Circulation||recalls
   function||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-07-25 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Martin Renvoize  changed:

   What|Removed |Added

 CC|martin.renvoize@ptfs-europe |
   |.com|

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-03-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Status|Failed QA   |ASSIGNED

--- Comment #65 from Aleisha Amohia  ---
Thanks all I agree with your suggestions and am working on implementing these.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-02-23 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Martin Renvoize  changed:

   What|Removed |Added

 QA Contact|testo...@bugs.koha-communit |martin.renvoize@ptfs-europe
   |y.org   |.com
 Status|Signed Off  |Failed QA

--- Comment #64 from Martin Renvoize  ---
I agree with the preference suggestion here.

We also need the error messages improveing as highlighting, 

Failing QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-02-21 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Pedro Amorim  changed:

   What|Removed |Added

 CC||martin.renvoize@ptfs-europe
   ||.com,
   ||pedro.amo...@ptfs-europe.co
   ||m

--- Comment #63 from Pedro Amorim  ---
Test plan works as described and qa script seems happy, but I don't feel
comfortable passing or failing QA here, so I'll leave that to someone else and
provide some observations instead:

Instead of adding RecallsInterface, should we consider updating UseRecalls sys
pref to:
0 - Don't use
1 - Use on OPAC only
2 - Use on staff interface only
3 - Use on both OPAC and staff interface

This would address the use-cases being covered here and not be YASP.
I understand it's more work but it seems partially redundant to have both
UseRecalls and RecallsInterface. I believe using the values I suggest above
would ease the work, since the current UseRecalls = 1 is equivalent to the
would be RecallsInterface = 'opac', although some current checks for truthy
UseRecalls would also now encompass '2' and '3', maybe not critical but just
something to consider.

--

Some improvements to error messaging could be considered:

Attempt to place a recall on an item not checked out, you get:
"Unable to place a recall. Check your circulation rules."
When you should get something like:
"Unable to place a recall on an item not checked out."

Attempt to place a recall on the same patron that the item is checked out to,
you get:
"Unable to place a recall. Check your circulation rules."
When you should get something like
"Unable to place recall. Item is already checked out to user X"

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2024-01-24 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

   Keywords|rel_23_11_candidate |roadmap_24_05

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #62 from David Nind  ---
Thanks Aleisha!

The tests now pass, and everything seems to be working as expected.

David

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #158695|0   |1
is obsolete||

--- Comment #61 from David Nind  ---
Created attachment 158832
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158832&action=edit
Bug 31391: Test fixes

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #158694|0   |1
is obsolete||

--- Comment #60 from David Nind  ---
Created attachment 158831
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158831&action=edit
Bug 31391: Interface and wording fixes

This patch includes the following fixes:
- Making the atomic updates executable
- Preventing warns when running tests
- Updating db updates
- Fixing terminology
- Make 'cancel selected recalls' button yellow
- Fix HTML makeup of recalls request page
- Show a warning when placing a recall if there is already a
record-level hold by this patron
- Show a link to mark a hold for conversion which selects the recall
option on holds page
- Include changes to patron search dropdown
- add 'mark hold for conversion to recall' column to columns settings

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #158693|0   |1
is obsolete||

--- Comment #59 from David Nind  ---
Created attachment 158830
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158830&action=edit
Bug 31391: (follow-up) Fix number of tests and terminology

Fixed two items:
- Number of tests: changed to 77 (from 76), tests now pass
- Terminology: changed message when attempting to place recalls
from the staff interface when RecallsInterface in set to the OPAC
only (staff client should be staff interface)

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #158692|0   |1
is obsolete||

--- Comment #58 from David Nind  ---
Created attachment 158829
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158829&action=edit
Bug 31391: (follow-up) Fix cancel recalls using checkbox

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #158691|0   |1
is obsolete||

--- Comment #57 from David Nind  ---
Created attachment 158828
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158828&action=edit
Bug 31391: Request recalls and convert reserves on staff interface

This enhancement adds the ability to place recalls via the staff
interface by introducing a system preference, RecallsInterface, to
configure where recalls can be placed. Recalls can either be placed via
the OPAC, or the staff interface, or both. This is set to OPAC by
default to be consistent with current behaviour.

This enhancement also adds the ability to convert existing reserves to
recalls easily via the staff interface. The reserve will be cancelled
and a recall placed using the reserve's information.

To test:
1) Update database and restart services
2) Enable UseRecalls and set the relevant recalls circulation rules
3) View the new RecallsInterface system preference. Confirm it is set to
OPAC only by default
4) Check out Item A to Patron B.
5) Log into the OPAC as Patron A. Confirm you can place, view and cancel
recalls as normal.
6) In the staff interface, set RecallsInterface to Staff interface only.
7) In the OPAC, confirm you can still view and cancel recalls, but can
no longer place recalls.
8) In the staff interface, search for Item A and go to the Reserves tab.
Place a reserve for Patron C.
9) Under the Priority column, select the dropdown and choose the recall
option next to your reserve.
10) Click Update holds. Confirm when the page refreshes that your
reserve has disappeared.
11) Go to the recalls tab. Confirm your reserve has been converted to a
recall, and details like the patron, expiration, and pickup location have
carried across to the recall.
12) On this recalls page, use the patron search to find Patron D. Test
placing a record-level recall by keeping the 'recall next available
item' checkbox.
13) When the page refreshes, confirm the recall was successfully placed
with the correct details stored.
14) Repeat steps 12 and 13 with Patron E, this time place an item-level
recall by choosing an item in the 'place a recall on a specific item'
table. When selecting one of these items, the 'recall next available
item' checkbox should de-select.
15) Set RecallsInterface back to OPAC only. Go back to the record and
view the Recalls tab.
16) Confirm you cannot search for a patron to place a recall, but can
still view and cancel recalls. Confirm you also cannot convert reserves
to recalls.
17) Set RecallsInterface to both staff interface and OPAC. Confirm you
can place recalls on both interfaces.
18) On the staff interface, test placing recalls that your circulation
rules do not allow. For example, if 'recalls per record' is 1, ensure
you're blocked from placing a second recall on a record for a patron.
19) Place a reserve for one of the patron's that already has a recall.
Once complete, try to convert this reserve into a recall. Confirm you
are blocked and shown a message that the hold cannot be converted to a
recall.
20) Ensure tests pass t/db_dependent/Holds.t

Sponsored-by: Auckland University of Technology

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #156997|0   |1
is obsolete||

--- Comment #56 from David Nind  ---
Created attachment 158827
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158827&action=edit
Bug 31391: Implement RecallsInterface on OPAC

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #156996|0   |1
is obsolete||

--- Comment #55 from David Nind  ---
Created attachment 158826
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158826&action=edit
Bug 31391: Recalled authorised value for hold cancellation

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #156995|0   |1
is obsolete||

--- Comment #54 from David Nind  ---
Created attachment 158825
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158825&action=edit
Bug 31391: RecallsInterface system preference

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #53 from Aleisha Amohia  ---
Created attachment 158695
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158695&action=edit
Bug 31391: Test fixes

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #157001|0   |1
is obsolete||

--- Comment #52 from Aleisha Amohia  ---
Created attachment 158694
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158694&action=edit
Bug 31391: Interface and wording fixes

This patch includes the following fixes:
- Making the atomic updates executable
- Preventing warns when running tests
- Updating db updates
- Fixing terminology
- Make 'cancel selected recalls' button yellow
- Fix HTML makeup of recalls request page
- Show a warning when placing a recall if there is already a
record-level hold by this patron
- Show a link to mark a hold for conversion which selects the recall
option on holds page
- Include changes to patron search dropdown
- add 'mark hold for conversion to recall' column to columns settings

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #157000|0   |1
is obsolete||

--- Comment #51 from Aleisha Amohia  ---
Created attachment 158693
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158693&action=edit
Bug 31391: (follow-up) Fix number of tests and terminology

Fixed two items:
- Number of tests: changed to 77 (from 76), tests now pass
- Terminology: changed message when attempting to place recalls
from the staff interface when RecallsInterface in set to the OPAC
only (staff client should be staff interface)

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #156999|0   |1
is obsolete||

--- Comment #50 from Aleisha Amohia  ---
Created attachment 158692
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158692&action=edit
Bug 31391: (follow-up) Fix cancel recalls using checkbox

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #156998|0   |1
is obsolete||

--- Comment #49 from Aleisha Amohia  ---
Created attachment 158691
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158691&action=edit
Bug 31391: Request recalls and convert reserves on staff interface

This enhancement adds the ability to place recalls via the staff
interface by introducing a system preference, RecallsInterface, to
configure where recalls can be placed. Recalls can either be placed via
the OPAC, or the staff interface, or both. This is set to OPAC by
default to be consistent with current behaviour.

This enhancement also adds the ability to convert existing reserves to
recalls easily via the staff interface. The reserve will be cancelled
and a recall placed using the reserve's information.

To test:
1) Update database and restart services
2) Enable UseRecalls and set the relevant recalls circulation rules
3) View the new RecallsInterface system preference. Confirm it is set to
OPAC only by default
4) Check out Item A to Patron B.
5) Log into the OPAC as Patron A. Confirm you can place, view and cancel
recalls as normal.
6) In the staff interface, set RecallsInterface to Staff interface only.
7) In the OPAC, confirm you can still view and cancel recalls, but can
no longer place recalls.
8) In the staff interface, search for Item A and go to the Reserves tab.
Place a reserve for Patron C.
9) Under the Priority column, select the dropdown and choose the recall
option next to your reserve.
10) Click Update holds. Confirm when the page refreshes that your
reserve has disappeared.
11) Go to the recalls tab. Confirm your reserve has been converted to a
recall, and details like the patron, expiration, and pickup location have
carried across to the recall.
12) On this recalls page, use the patron search to find Patron D. Test
placing a record-level recall by keeping the 'recall next available
item' checkbox.
13) When the page refreshes, confirm the recall was successfully placed
with the correct details stored.
14) Repeat steps 12 and 13 with Patron E, this time place an item-level
recall by choosing an item in the 'place a recall on a specific item'
table. When selecting one of these items, the 'recall next available
item' checkbox should de-select.
15) Set RecallsInterface back to OPAC only. Go back to the record and
view the Recalls tab.
16) Confirm you cannot search for a patron to place a recall, but can
still view and cancel recalls. Confirm you also cannot convert reserves
to recalls.
17) Set RecallsInterface to both staff interface and OPAC. Confirm you
can place recalls on both interfaces.
18) On the staff interface, test placing recalls that your circulation
rules do not allow. For example, if 'recalls per record' is 1, ensure
you're blocked from placing a second recall on a record for a patron.
19) Place a reserve for one of the patron's that already has a recall.
Once complete, try to convert this reserve into a recall. Confirm you
are blocked and shown a message that the hold cannot be converted to a
recall.
20) Ensure tests pass t/db_dependent/Holds.t

Sponsored-by: Auckland University of Technology

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Status|Failed QA   |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-11-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Katrin Fischer  changed:

   What|Removed |Added

 QA Contact|katrin.fisc...@bsz-bw.de|testo...@bugs.koha-communit
   ||y.org

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-10-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Status|Needs Signoff   |Failed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-10-17 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #48 from David Nind  ---
Everything still works, however the tests are failing for me:

prove t/db_dependent/Holds.t
t/db_dependent/Holds.t .. 68/74 Use of uninitialized value in numeric le (<=)
at /kohadevbox/koha/C4/Circulation.pm line 3002.
Use of uninitialized value in numeric le (<=) at
/kohadevbox/koha/C4/Circulation.pm line 3002.
Use of uninitialized value in numeric le (<=) at
/kohadevbox/koha/C4/Circulation.pm line 3002.
t/db_dependent/Holds.t .. 73/74 # No tests run!

#   Failed test 'No tests run for subtest "ModReserve to convert a hold to a
recall"'
#   at t/db_dependent/Holds.t line 1902.
Can't call method "categorycode" on unblessed reference at
/kohadevbox/koha/C4/Circulation.pm line 3830.
# Looks like your test exited with 11 just after 74.
t/db_dependent/Holds.t .. Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 1/74 subtests 

Test Summary Report
---
t/db_dependent/Holds.t (Wstat: 2816 Tests: 74 Failed: 1)
  Failed test:  74
  Non-zero exit status: 11
Files=1, Tests=74,  7 wallclock secs ( 0.04 usr  0.01 sys +  3.62 cusr  1.28
csys =  4.95 CPU)
Result: FAIL

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-10-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #150491|0   |1
is obsolete||

--- Comment #47 from Aleisha Amohia  ---
Created attachment 157001
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157001&action=edit
Bug 31391: Interface and wording fixes

This patch includes the following fixes:
- Making the atomic updates executable
- Preventing warns when running tests
- Updating db updates
- Fixing terminology
- Make 'cancel selected recalls' button yellow
- Fix HTML makeup of recalls request page
- Show a warning when placing a recall if there is already a
record-level hold by this patron
- Show a link to mark a hold for conversion which selects the recall
option on holds page
- Include changes to patron search dropdown

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-10-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #150490|0   |1
is obsolete||

--- Comment #46 from Aleisha Amohia  ---
Created attachment 157000
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157000&action=edit
Bug 31391: (follow-up) Fix number of tests and terminology

Fixed two items:
- Number of tests: changed to 77 (from 76), tests now pass
- Terminology: changed message when attempting to place recalls
from the staff interface when RecallsInterface in set to the OPAC
only (staff client should be staff interface)

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-10-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #150489|0   |1
is obsolete||

--- Comment #45 from Aleisha Amohia  ---
Created attachment 156999
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156999&action=edit
Bug 31391: (follow-up) Fix cancel recalls using checkbox

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-10-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #150488|0   |1
is obsolete||

--- Comment #44 from Aleisha Amohia  ---
Created attachment 156998
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156998&action=edit
Bug 31391: Request recalls and convert reserves on staff interface

This enhancement adds the ability to place recalls via the staff
interface by introducing a system preference, RecallsInterface, to
configure where recalls can be placed. Recalls can either be placed via
the OPAC, or the staff interface, or both. This is set to OPAC by
default to be consistent with current behaviour.

This enhancement also adds the ability to convert existing reserves to
recalls easily via the staff interface. The reserve will be cancelled
and a recall placed using the reserve's information.

To test:
1) Update database and restart services
2) Enable UseRecalls and set the relevant recalls circulation rules
3) View the new RecallsInterface system preference. Confirm it is set to
OPAC only by default
4) Check out Item A to Patron B.
5) Log into the OPAC as Patron A. Confirm you can place, view and cancel
recalls as normal.
6) In the staff interface, set RecallsInterface to Staff interface only.
7) In the OPAC, confirm you can still view and cancel recalls, but can
no longer place recalls.
8) In the staff interface, search for Item A and go to the Reserves tab.
Place a reserve for Patron C.
9) Under the Priority column, select the dropdown and choose the recall
option next to your reserve.
10) Click Update holds. Confirm when the page refreshes that your
reserve has disappeared.
11) Go to the recalls tab. Confirm your reserve has been converted to a
recall, and details like the patron, expiration, and pickup location have
carried across to the recall.
12) On this recalls page, use the patron search to find Patron D. Test
placing a record-level recall by keeping the 'recall next available
item' checkbox.
13) When the page refreshes, confirm the recall was successfully placed
with the correct details stored.
14) Repeat steps 12 and 13 with Patron E, this time place an item-level
recall by choosing an item in the 'place a recall on a specific item'
table. When selecting one of these items, the 'recall next available
item' checkbox should de-select.
15) Set RecallsInterface back to OPAC only. Go back to the record and
view the Recalls tab.
16) Confirm you cannot search for a patron to place a recall, but can
still view and cancel recalls. Confirm you also cannot convert reserves
to recalls.
17) Set RecallsInterface to both staff interface and OPAC. Confirm you
can place recalls on both interfaces.
18) On the staff interface, test placing recalls that your circulation
rules do not allow. For example, if 'recalls per record' is 1, ensure
you're blocked from placing a second recall on a record for a patron.
19) Place a reserve for one of the patron's that already has a recall.
Once complete, try to convert this reserve into a recall. Confirm you
are blocked and shown a message that the hold cannot be converted to a
recall.
20) Ensure tests pass t/db_dependent/Holds.t

Sponsored-by: Auckland University of Technology

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-10-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #150487|0   |1
is obsolete||

--- Comment #43 from Aleisha Amohia  ---
Created attachment 156997
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156997&action=edit
Bug 31391: Implement RecallsInterface on OPAC

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-10-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #150486|0   |1
is obsolete||

--- Comment #42 from Aleisha Amohia  ---
Created attachment 156996
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156996&action=edit
Bug 31391: Recalled authorised value for hold cancellation

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-10-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #150485|0   |1
is obsolete||

--- Comment #41 from Aleisha Amohia  ---
Created attachment 156995
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156995&action=edit
Bug 31391: RecallsInterface system preference

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-10-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Status|Patch doesn't apply |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-08-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Status|Signed Off  |Patch doesn't apply

--- Comment #40 from David Nind  ---
Bug 31415 Depends on bug 31391 (Signed Off)
Follow? [(y)es, (n)o] y

The patch no longer applies (discovered when testing bug 31415):


Bug 31391 - Staff-side recalls

150485 - Bug 31391: RecallsInterface system preference
150486 - Bug 31391: Recalled authorised value for hold cancellation
150487 - Bug 31391: Implement RecallsInterface on OPAC
150488 - Bug 31391: Request recalls and convert reserves on staff interface
150489 - Bug 31391: (follow-up) Fix cancel recalls using checkbox
150490 - Bug 31391: (follow-up) Fix number of tests and terminology
150491 - Bug 31391: Interface and wording fixes

Apply? [(y)es, (n)o, (i)nteractive] y
Applying: Bug 31391: RecallsInterface system preference
Applying: Bug 31391: Recalled authorised value for hold cancellation
Applying: Bug 31391: Implement RecallsInterface on OPAC
Using index info to reconstruct a base tree...
M   koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc
M   koha-tmpl/opac-tmpl/bootstrap/en/includes/title-actions-menu.inc
Falling back to patching base and 3-way merge...
Auto-merging koha-tmpl/opac-tmpl/bootstrap/en/includes/title-actions-menu.inc
CONFLICT (content): Merge conflict in
koha-tmpl/opac-tmpl/bootstrap/en/includes/title-actions-menu.inc
Auto-merging koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc
CONFLICT (content): Merge conflict in
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc
error: Failed to merge in the changes.
Patch failed at 0001 Bug 31391: Implement RecallsInterface on OPAC

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-06-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Magnus Enger  changed:

   What|Removed |Added

 CC||mag...@libriotech.no

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-05-17 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Tomás Cohen Arazi  changed:

   What|Removed |Added

   Keywords|rel_23_05_candidate |rel_23_11_candidate

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-05-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #39 from Jonathan Druart  ---
IMO we are too far in the release cycle to push this one for 23.05.

Additionally there are several bugs opened for the OPAC part that are still
waiting to be fixed.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-05-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #147582|0   |1
is obsolete||

--- Comment #38 from David Nind  ---
Created attachment 150491
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150491&action=edit
Bug 31391: Interface and wording fixes

This patch includes the following fixes:
- Making the atomic updates executable
- Preventing warns when running tests
- Updating db updates
- Fixing terminology
- Make 'cancel selected recalls' button yellow
- Fix HTML makeup of recalls request page
- Show a warning when placing a recall if there is already a
record-level hold by this patron
- Show a link to mark a hold for conversion which selects the recall
option on holds page

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-05-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #144136|0   |1
is obsolete||

--- Comment #37 from David Nind  ---
Created attachment 150490
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150490&action=edit
Bug 31391: (follow-up) Fix number of tests and terminology

Fixed two items:
- Number of tests: changed to 77 (from 76), tests now pass
- Terminology: changed message when attempting to place recalls
from the staff interface when RecallsInterface in set to the OPAC
only (staff client should be staff interface)

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-05-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #144135|0   |1
is obsolete||

--- Comment #36 from David Nind  ---
Created attachment 150489
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150489&action=edit
Bug 31391: (follow-up) Fix cancel recalls using checkbox

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-05-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #144134|0   |1
is obsolete||

--- Comment #35 from David Nind  ---
Created attachment 150488
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150488&action=edit
Bug 31391: Request recalls and convert reserves on staff interface

This enhancement adds the ability to place recalls via the staff
interface by introducing a system preference, RecallsInterface, to
configure where recalls can be placed. Recalls can either be placed via
the OPAC, or the staff interface, or both. This is set to OPAC by
default to be consistent with current behaviour.

This enhancement also adds the ability to convert existing reserves to
recalls easily via the staff interface. The reserve will be cancelled
and a recall placed using the reserve's information.

To test:
1) Update database and restart services
2) Enable UseRecalls and set the relevant recalls circulation rules
3) View the new RecallsInterface system preference. Confirm it is set to
OPAC only by default
4) Check out Item A to Patron B.
5) Log into the OPAC as Patron A. Confirm you can place, view and cancel
recalls as normal.
6) In the staff interface, set RecallsInterface to Staff interface only.
7) In the OPAC, confirm you can still view and cancel recalls, but can
no longer place recalls.
8) In the staff interface, search for Item A and go to the Reserves tab.
Place a reserve for Patron C.
9) Under the Priority column, select the dropdown and choose the recall
option next to your reserve.
10) Click Update holds. Confirm when the page refreshes that your
reserve has disappeared.
11) Go to the recalls tab. Confirm your reserve has been converted to a
recall, and details like the patron, expiration, and pickup location have
carried across to the recall.
12) On this recalls page, use the patron search to find Patron D. Test
placing a record-level recall by keeping the 'recall next available
item' checkbox.
13) When the page refreshes, confirm the recall was successfully placed
with the correct details stored.
14) Repeat steps 12 and 13 with Patron E, this time place an item-level
recall by choosing an item in the 'place a recall on a specific item'
table. When selecting one of these items, the 'recall next available
item' checkbox should de-select.
15) Set RecallsInterface back to OPAC only. Go back to the record and
view the Recalls tab.
16) Confirm you cannot search for a patron to place a recall, but can
still view and cancel recalls. Confirm you also cannot convert reserves
to recalls.
17) Set RecallsInterface to both staff interface and OPAC. Confirm you
can place recalls on both interfaces.
18) On the staff interface, test placing recalls that your circulation
rules do not allow. For example, if 'recalls per record' is 1, ensure
you're blocked from placing a second recall on a record for a patron.
19) Place a reserve for one of the patron's that already has a recall.
Once complete, try to convert this reserve into a recall. Confirm you
are blocked and shown a message that the hold cannot be converted to a
recall.
20) Ensure tests pass t/db_dependent/Holds.t

Sponsored-by: Auckland University of Technology

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-05-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #144133|0   |1
is obsolete||

--- Comment #34 from David Nind  ---
Created attachment 150487
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150487&action=edit
Bug 31391: Implement RecallsInterface on OPAC

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-05-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #144132|0   |1
is obsolete||

--- Comment #33 from David Nind  ---
Created attachment 150486
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150486&action=edit
Bug 31391: Recalled authorised value for hold cancellation

Signed-off-by: David 
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-05-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #144131|0   |1
is obsolete||

--- Comment #32 from David Nind  ---
Created attachment 150485
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150485&action=edit
Bug 31391: RecallsInterface system preference

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-05-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-04-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

   Keywords|rel_22_11_candidate |rel_23_05_candidate

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-03-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #147581|0   |1
is obsolete||

--- Comment #31 from Aleisha Amohia  ---
Created attachment 147582
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147582&action=edit
Bug 31391: Interface and wording fixes

This patch includes the following fixes:
- Making the atomic updates executable
- Preventing warns when running tests
- Updating db updates
- Fixing terminology
- Make 'cancel selected recalls' button yellow
- Fix HTML makeup of recalls request page
- Show a warning when placing a recall if there is already a
record-level hold by this patron
- Show a link to mark a hold for conversion which selects the recall
option on holds page

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-03-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #30 from Aleisha Amohia  ---
Created attachment 147581
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147581&action=edit
Bug 31391: Interface and wording fixes

This patch includes the following fixes:
- Making the atomic updates executable
- Preventing warns when running tests
- Updating db updates
- Fixing terminology
- Make 'cancel selected recalls' button yellow
- Fix HTML makeup of recalls request page
- Show a warning when placing a recall if there is already a
record-level hold by this patron
- Show a link to mark a hold for conversion which selects the recall
option on holds page

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-03-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Aleisha Amohia  changed:

   What|Removed |Added

 Status|Failed QA   |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2023-02-24 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

Katrin Fischer  changed:

   What|Removed |Added

 QA Contact|testo...@bugs.koha-communit |katrin.fisc...@bsz-bw.de
   |y.org   |
 Status|Signed Off  |Failed QA

--- Comment #29 from Katrin Fischer  ---
Doing a first round of testing here:

1) QA test tools

 FAIL  
installer/data/mysql/atomicupdate/bug_31391_-_add_HOLD_CANCELLATION-RECALLED_authorised_value.pl
   FAIL   file permissions
File must have the exec flag

 FAIL  
installer/data/mysql/atomicupdate/bug_31391_-_add_RecallsInterface_syspref.pl
   FAIL   file permissions
File must have the exec flag


2) Unit tests

There is a new warn that is not there when running the test on master, that
should be fixed to give a clean result:

t/db_dependent/Holds.t .. 76/77 An appropriate email address for borrower
myfirstname.whateversurname1 could not be found. at
/kohadevbox/koha/C4/Message.pm line 192.
No reserves HOLD_CANCELLATION letter transported by email at
/kohadevbox/koha/C4/Letters.pm line 584.
t/db_dependent/Holds.t .. ok 
All tests successful.

3) Database update

* is idempotent
*
installer/data/mysql/atomicupdate/bug_31391_-_add_HOLD_CANCELLATION-RECALLED_authorised_value.
could be updated to also use the new style

3) Code review


+Last location
a) This might be a little confusing with the 'location' in item. Could we use
'Last library' or even 'holding library' here?

+[% IF ( item.itemlost || item.withdrawn ) %]
+Unavailable (lost or
missing)
+[% END %]

b) This looks like it should read "(lost or withdrawn)"

+Patron has already placed a reserve on this item.

c) Terminology: 'reserve' should be 'hold'.


4) GUI testing

a) The system preference RecallsInterface appears in the Curbside pickup
section instead of in recalls. Maybe a rebase issue.

b) Could be a separate bug: when placing a recall from the detail page, the
list of existing recalls needs the 'page-section' class to appear correctly in
the new staff interface design with white background.

c) Could be a separate bug: Cancel recalls on the same page should be a yellow
primary button.

d) Should I be able to to place a record level hold and a recall level hold for
the same patron at the same time? It seems like maybe we should have a warning
or a message there, maybe recommending to convert the existing hold.

e) When converting the hold, the recall action is 'Hiding' in the priorities. I
feel like a link or icon might be a little nicer as I almost missed it there.
Not blocker.


Stopping here for now, but I feel this will make the feature much more
flexible!

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2022-11-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #28 from Aleisha Amohia  ---
(In reply to David Nind from comment #27)

> Thanks Aleisha - now signed off!
> 
> I added a follow-up to change the number of tests so that tests pass, and
> change staff client to staff interface.
> 
> David

Good catch! Thank you for your awesome testing.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2022-11-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #27 from David Nind  ---
(In reply to Aleisha Amohia from comment #20)
> (In reply to David Nind from comment #17)
> > This is still not working for me and doesn't appear to be fixed.
> > 
> > If it helps, there is an entry in
> > /var/log/koha/kohadev/plack-intranet-error.log:
> > [2022/11/04 06:36:44] [WARN] Use of uninitialized value $biblionumber in
> > concatenation (.) or string at /kohadevbox/koha/recalls/request.pl line
> > 49.
> > 
> > Everything else continues to work as per the test plan.
> 
> Sorry you were right - amended in most recent patch

Thanks Aleisha - now signed off!

I added a follow-up to change the number of tests so that tests pass, and
change staff client to staff interface.

David

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2022-11-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

--- Comment #26 from David Nind  ---
Created attachment 144136
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144136&action=edit
Bug 31391: (follow-up) Fix number of tests and terminology

Fixed two items:
- Number of tests: changed to 77 (from 76), tests now pass
- Terminology: changed message when attempting to place recalls
from the staff interface when RecallsInterface in set to the OPAC
only (staff client should be staff interface)

Signed-off-by: David 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 31391] Staff-side recalls

2022-11-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31391

David Nind  changed:

   What|Removed |Added

 Attachment #144105|0   |1
is obsolete||

--- Comment #25 from David Nind  ---
Created attachment 144135
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144135&action=edit
Bug 31391: (follow-up) Fix cancel recalls using checkbox

Signed-off-by: David 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


  1   2   >