Main Koha release repository https://koha-community.org
Find a file
Katrin Fischer 2873847246
Bug 32917: Fix sample notice for CHANGE_PASSWORD
We've identified 3 issues:
* Name of patron is not showing up in subject line
* Name of patron is now showing in notice text
* Notice is set to be HTML, but has no line breaks and uses no HTML tags

In the database update, these issues don't occur:

$dbh->do( q{
    INSERT IGNORE INTO letter (module, code, name, title, content, message_transport_type) VALUES ('members', 'PASSWORD_CHANGE', 'Notification of password change', 'Library account password change notification',
    "Dear [% borrower.firstname %] [% borrower.surname %],\r\n\r\nWe want to notify you that your password has been changed. If you did not change it yourself (or requested that change), please contact library staff.\r\n\r\nYour library.", 'email');
});

So this patch will make them match up:

* Remove HTML flag
* Update patron. to borrower. in message text
* Remove patron name from subject (it won't work even with the correct variables)

To test:
* Add an email address to your favourite sample user
* Make sure NotifyPasswordChange is set to "Notify"
* Update the sample user's password using the "change password" feature
* Verify a notice is shown in the notices tabs
  Note: you won't see the line break issue there because of bug 30287
* Apply patch
* Recreate your database/run web installer so sample notices are loaded
* Repeat the test, it should generate a nice lookig notice now

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-05-09 11:46:59 -03:00
acqui Bug 33653: Use filter_by_active instead 2023-05-09 10:58:07 -03:00
admin Bug 33586: Fix sequence of fields for memberresultst in table configuration 2023-05-09 10:58:02 -03:00
api Bug 31799: (follow-up) Add 409 error to spec 2023-05-09 10:57:56 -03:00
authorities Bug 32484: (QA follow-up) Few typos 2023-04-21 10:36:30 -03:00
basket Bug 33102: Display fields from biblioitems in OPAC/staff interface cart 2023-05-05 17:45:19 -03:00
bin
C4 Bug 33569: Fix sort by relevance in catalog search 2023-05-09 11:46:47 -03:00
catalogue Bug 33037: Koha does not display difference between enumchron and serialseq in record detail view (OPAC and intranet) 2023-05-09 11:46:57 -03:00
cataloguing Bug 32874: Fix cataloguing/value_builder/unimarc_field_700-4.pl 2023-05-05 09:13:37 -03:00
circ Bug 21699: Allow circulation messages to be editable 2023-05-05 10:18:55 -03:00
clubs
course_reserves
debian Bug 33645: Make koha-foreach return 0 if it completes successfully 2023-05-05 17:45:10 -03:00
docs
erm
errors
etc Bug 33360: Update koha-conf.xml 2023-04-14 11:35:33 -03:00
ill
installer Bug 32917: Fix sample notice for CHANGE_PASSWORD 2023-05-09 11:46:59 -03:00
Koha Bug 32548: Replace while with map 2023-05-09 11:46:58 -03:00
koha-tmpl Bug 33253: Turn off autocompletion for 2FA authentication code 2023-05-09 11:46:59 -03:00
labels
lib/CGI/Session/Serialize
members Bug 31448: Replace 'Print' with 'Receipt' dropdown 2023-05-05 10:18:45 -03:00
misc Bug 23924: Reset the fields to add 2023-05-05 12:13:53 -03:00
offline_circ
opac Bug 33037: Koha does not display difference between enumchron and serialseq in record detail view (OPAC and intranet) 2023-05-09 11:46:57 -03:00
patron_lists
patroncards
plugins Bug 30367: (follow-up) Same adjustment for gitlab 2023-05-05 10:18:57 -03:00
pos Bug 30619: Add email receipt to POS 2022-09-07 15:59:34 -07:00
recalls
reports Bug 23824: Add a "Save and run" button to reports 2023-04-17 09:39:45 -03:00
reserve Bug 33198: Don't calculate pickup locations per bib unless placing multiple holds 2023-03-27 11:50:18 +02:00
reviews Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
rotating_collections Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
serials
services
skel
suggestion Bug 32531: Restore behaviour of 'include archived' filter 2023-01-05 09:22:58 -03:00
svc Bug 33408: Fetch sysprefs from svc/config/systempreferences 2023-04-13 11:47:58 -03:00
t Bug 32548: Add tests 2023-05-09 11:46:58 -03:00
tags
tools Bug 33412: Fix comparison when checking for overlay framework 2023-05-09 10:58:04 -03:00
virtualshelves Bug 3150: (QA follow-up) Tidy scripts 2023-03-27 12:49:47 +02:00
xt Bug 33227: Unit tests 2023-03-20 09:39:49 -03:00
.editorconfig
.eslintrc.json
.gitignore
.htaccess
.mailmap
.perlcriticrc
.proverc.dist
.stylelintrc.json
about.pl Bug 28267: Simplify things 2023-05-05 10:18:36 -03:00
app.psgi
build-resources.PL
changelanguage.pl
cpanfile
cypress.json Bug 33408: Extend defaultCommandTimeout for cypress 2023-04-13 11:48:00 -03:00
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 33053: DBRev 22.12.00.030 2023-05-05 17:45:15 -03:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl Bug 33133: Add fast cataloging to 'Cataloging' page 2023-03-27 12:50:07 +02:00
Makefile.PL
MANIFEST.SKIP Bug 9546 : Updating make manifest tardist 2013-02-06 23:54:46 -05:00
package.json Bug 33066: Introduce a KohaTable Vue component 2023-04-10 07:38:28 -03:00
README
README.md
README.robots
rewrite-config.PL
tsconfig.json
webpack.config.js
yarn.lock Bug 33066: Introduce a KohaTable Vue component 2023-04-10 07:38:28 -03:00

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo