[Koha-bugs] [Bug 41132] variable 'branch' is not available in PASSWORD_RESET nor STAFF_PASSWORD_RESET

2025-12-21 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41132

David Nind  changed:

   What|Removed |Added

 CC||[email protected]
 Attachment #188564|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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 41132] variable 'branch' is not available in PASSWORD_RESET nor STAFF_PASSWORD_RESET

2025-12-21 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41132

--- Comment #3 from David Nind  ---
Created attachment 190657
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190657&action=edit
Bug 41132: Make 'branch' available in password reset notification

The variable 'branch' in TemplateToolkit (or 'branches' in hungry
aligator syntax) is now available in notification for password
reset (PASSWORD_RESET an STAFF_PASSWORD_RESET).
The branch of the patron will be used.

To test:
1- Edit the template for PASSWORD_RESET and STAFF_PASSWORD_RESET to add
 <> and [% branch.branchname %]
2- Make sure syspref OpacResetPassword to allowed to be able to reset
 the password from OPAC and staff interface
3- Generate both notices
   a- In the staff interface, go to the patron record, click "More" then
 "Send password reset"
   b- In the OPAC, Click on "Forgot your password?" and enter the email
 (or cardnumber)
 (you might need to click "Get new password recovery link")
4- Check the notices, from the patron record go to the notices tab,
 make sure that the branch name is not displayed (black)
5- Apply the patch
6- Repeate step 3 and check the notices, the branch name is now
displayed

Note: if using KTD email will not be sent and on the OPAC side you have
an error message telling that the email was not send. This is not a
problem for our testing as we can check the notices from the interface.

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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 41132] variable 'branch' is not available in PASSWORD_RESET nor STAFF_PASSWORD_RESET

2025-12-21 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41132

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
[email protected]
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 41132] variable 'branch' is not available in PASSWORD_RESET nor STAFF_PASSWORD_RESET

2025-12-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41132

--- Comment #2 from Katrin Fischer  ---
Just a note: borrowers doesn't work either :)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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 41132] variable 'branch' is not available in PASSWORD_RESET nor STAFF_PASSWORD_RESET

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

Marion Durand  changed:

   What|Removed |Added

   Assignee|[email protected] |[email protected]
   |ity.org |

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
[email protected]
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 41132] variable 'branch' is not available in PASSWORD_RESET nor STAFF_PASSWORD_RESET

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

--- Comment #1 from Marion Durand  ---
Created attachment 188564
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188564&action=edit
Bug 41132: make 'branch' available in password reset notification

The variable 'branch' in TemplateToolkit (or 'branches' in hungry
aligator syntax) is now available in notification for password
reset (PASSWORD_RESET an STAFF_PASSWORD_RESET).
The branch of the patron will be used.

To test:
1- Edit the template for PASSWORD_RESET and STAFF_PASSWORD_RESET to add
 <> and [% branch.branchname %]
2- Make sure syspref OpacResetPassword to allowed to be able to reset
 the password from OPAC and staff interface
3- Generate both notices
   a- In the staff interface, go to the patron record, click "More" then
 "Send password reset"
   b- In the OPAC, Click on "Forgot your password?" and enter the email
 (or cardnumber)
 (you might need to click "Get new password recovery link")
4- Check the notices, from the patron record go to the notices tab,
 make sure that the branch name is not displayed (black)
5- Apply the patch
6- Repeate step 3 and check the notices, the branch name is now
displayed

Note: if using KTD email will not be sent and on the OPAC side you have
an error message telling that the email was not send. This is not a
problem for our testing as we can check the notices from the interface.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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 41132] variable 'branch' is not available in PASSWORD_RESET nor STAFF_PASSWORD_RESET

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

Marion Durand  changed:

   What|Removed |Added

 Status|NEW |Needs Signoff

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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/