Bugzilla – Attachment 37256 Details for
Bug 5002
No error message if category code already exists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5002: Show all patron categories after insert
Bug-5002-Show-all-patron-categories-after-insert.patch (text/plain), 2.08 KB, created by
Jonathan Druart
on 2015-03-26 08:31:00 UTC
(
hide
)
Description:
Bug 5002: Show all patron categories after insert
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-03-26 08:31:00 UTC
Size:
2.08 KB
patch
obsolete
>From 2194e5bf837bca5e63d0a1c4b25124046e5f6436 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 26 Mar 2015 09:30:11 +0100 >Subject: [PATCH] Bug 5002: Show all patron categories after insert > >+ wording changes. >--- > admin/categorie.pl | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt | 6 +++--- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/admin/categorie.pl b/admin/categorie.pl >index 60d2c84..bb0b72e 100755 >--- a/admin/categorie.pl >+++ b/admin/categorie.pl >@@ -257,7 +257,6 @@ elsif ( $op eq 'add_validate' ) { > if ( $inserted ) { > push @messages, { type => 'message', code => 'success_on_insert' }; > } else { >- $searchfield = q||; > push @messages, { type => 'error', code => 'error_on_insert' }; > } > } >@@ -267,6 +266,7 @@ elsif ( $op eq 'add_validate' ) { > { categorycode => $input->param('categorycode') }, $template ); > } > >+ $searchfield = q||; > $op = 'list'; > > # END $OP eq ADD_VALIDATE >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt >index 281d24a..e5e9096 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt >@@ -113,11 +113,11 @@ > [% CASE 'error_on_insert' %] > An error occurred when inserting this patron category. Perhaps the category code already exists. > [% CASE 'error_on_delete' %] >- An error occurred when deleteing this patron category. Check the logs. >+ An error occurred when deleting this patron category. Check the logs. > [% CASE 'success_on_insert' %] >- Patron category inserted with success. >+ Patron category added successfully > [% CASE 'success_on_delete' %] >- Patron category deleted with success. >+ Patron category deleted successfully. > [% CASE %] > [% m.code %] > [% END %] >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5002
:
37174
|
37226
|
37256
|
37257
|
37260
|
37319
|
37320