Bugzilla – Attachment 184446 Details for
Bug 40431
Subject should be mandatory when using the free form to send an email to a patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40431: Make subject required for emails in Add message modal
Bug-40431-Make-subject-required-for-emails-in-Add-.patch (text/plain), 1.57 KB, created by
Eric Garcia
on 2025-07-21 16:12:24 UTC
(
hide
)
Description:
Bug 40431: Make subject required for emails in Add message modal
Filename:
MIME Type:
Creator:
Eric Garcia
Created:
2025-07-21 16:12:24 UTC
Size:
1.57 KB
patch
obsolete
>From bab68b4e1f99dc90e32ef5915af11e2bbf2f4e32 Mon Sep 17 00:00:00 2001 >From: Eric Garcia <cubingguy714@gmail.com> >Date: Mon, 21 Jul 2025 16:10:25 +0000 >Subject: [PATCH] Bug 40431: Make subject required for emails in Add message > modal > >Test Plan: >1. Apply patch >2. Go to patron's detail page >3. Click "Add message" in tools bar >4. Fill the body, but leave the subject empty >5. Notice it requires you to fill out subject before saving >--- > koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc >index c40f34ebce..21c303dd84 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc >@@ -220,7 +220,7 @@ > > <li class="form-group form-row" id="subject_form" style="display: none;"> > <label for="borrower_subject" class="col-form-label">Subject:</label> >- <input type="text" size="60" name="borrower_subject" class="form-control" id="borrower_subject" /> >+ <input type="text" size="60" name="borrower_subject" class="form-control" id="borrower_subject" required="required" /> > </li> > <li class="form-group form-row"> > <label for="borrower_message" class="col-form-label" style="display: none;">Body:</label> >-- >2.39.5
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 40431
:
184446
|
184450