Bug 28810

Summary: Housebound details should be textarea not text inputs
Product: Koha Reporter: Lucas Gass <lucas>
Component: CirculationAssignee: Lucas Gass <lucas>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall, kyle
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
This patch changes the housebound detail form inputs from text inputs to textarea's in order to accommodate more information in each field.
Version(s) released in:
21.11.00
Bug Depends on:    
Bug Blocks: 26544    
Attachments: Bug 28810: replace housebould detail inputs with textarea
Bug 28810: replace housebould detail inputs with textarea
Bug 28810: replace housebould detail inputs with textarea

Description Lucas Gass 2021-08-03 21:22:48 UTC
In the housebound module when filling out the housebound details there are some fields that could potentially contain a lot of information. There fields are 
Preferred materials, Subjects, Authors, Referrals, and notes. 

Librarians may wish to enter many subjects/authors/notes/etc and perhaps add line breaks to separate subjects/authors/notes/etc. 

We should replace the input's with textarea and when viewing those housebound details we should preserve those lines breaks.
Comment 1 Lucas Gass 2021-08-03 21:33:49 UTC
Created attachment 123445 [details] [review]
Bug 28810: replace housebould detail inputs with textarea

To test:
1. apply patch
2. enable housebound module
3. go to a patron and look at the housebound tab
4. Edit the detials.
5. The preferred materials, subjects, authors, referral, and note inputs should be replace with much larger textareas.
6. You should now be able to added line breaks, so fill out each of the fields adding some line breaks. I added something like:
Fiction authors: Frank Herbert
Non-fiction authors: Malcolm Gladwell

7. Save changes
8. Now when you look at the housebound details those line breaks should be preserved and much easier to read.
Comment 2 Andrew Fuerste-Henry 2021-08-04 11:56:36 UTC
Created attachment 123455 [details] [review]
Bug 28810: replace housebould detail inputs with textarea

To test:
1. apply patch
2. enable housebound module
3. go to a patron and look at the housebound tab
4. Edit the detials.
5. The preferred materials, subjects, authors, referral, and note inputs should be replace with much larger textareas.
6. You should now be able to added line breaks, so fill out each of the fields adding some line breaks. I added something like:
Fiction authors: Frank Herbert
Non-fiction authors: Malcolm Gladwell

7. Save changes
8. Now when you look at the housebound details those line breaks should be preserved and much easier to read.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Comment 3 Katrin Fischer 2021-08-29 11:10:31 UTC
I like that it preserves the line breaks.
Comment 4 Katrin Fischer 2021-08-29 11:11:27 UTC
Created attachment 124221 [details] [review]
Bug 28810: replace housebould detail inputs with textarea

To test:
1. apply patch
2. enable housebound module
3. go to a patron and look at the housebound tab
4. Edit the detials.
5. The preferred materials, subjects, authors, referral, and note inputs should be replace with much larger textareas.
6. You should now be able to added line breaks, so fill out each of the fields adding some line breaks. I added something like:
Fiction authors: Frank Herbert
Non-fiction authors: Malcolm Gladwell

7. Save changes
8. Now when you look at the housebound details those line breaks should be preserved and much easier to read.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 5 Jonathan Druart 2021-08-30 15:12:06 UTC
Pushed to master for 21.11, thanks to everybody involved!