Bugzilla – Attachment 139862 Details for
Bug 31374
Add a non-public note column to the suggestions table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31374: Update Suggestion.pm
Bug-31374-Update-Suggestionpm.patch (text/plain), 1.73 KB, created by
Katrin Fischer
on 2022-08-27 14:51:56 UTC
(
hide
)
Description:
Bug 31374: Update Suggestion.pm
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-08-27 14:51:56 UTC
Size:
1.73 KB
patch
obsolete
>From 86d594cb82230f443b798c50110e9230c4039360 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 19 Aug 2022 16:18:44 +0000 >Subject: [PATCH] Bug 31374: Update Suggestion.pm > >To test: >1. Apply patch and restart services >2. Go to Acquistions -> Suggestions -> New Purchase suggestion >3. Notice the new 'Non-public notes:' textarea >4. Make sure you 'Set a patron' so we can later look at the suggestion from the OPAC >5. Make a new suggestion and make sure you add some Non-public notes >6. Back on the 'Suggestions management' page you should see a new column for 'Non-public note' >7. Go to table settings and make sure you can properly hide the column >8. Change the status and make sure it shows up on the table with all statuses (pending, accepted, rejected, etc ) >9. Check the API by going to (/api/v1/suggestions). Your suggestion should show up and 'privatenote' should include your non-public note. >10. Log in to the OPAC as the patron we set the suggestion to earlier. You should not see anything related to the non-public note displaying from the OPAC > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > Koha/Suggestion.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/Koha/Suggestion.pm b/Koha/Suggestion.pm >index 433fe7f1f1..f66f9f9209 100644 >--- a/Koha/Suggestion.pm >+++ b/Koha/Suggestion.pm >@@ -160,6 +160,7 @@ sub to_api_mapping { > lastmodificationby => 'last_status_change_by', > STATUS => 'status', > note => 'note', >+ privatenote => 'privatenote', > author => 'author', > title => 'title', > copyrightdate => 'copyright_date', >-- >2.30.2
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 31374
:
139212
|
139213
|
139214
|
139216
|
139508
|
139526
|
139527
|
139528
|
139529
|
139530
|
139627
|
139858
|
139859
|
139860
|
139861
| 139862 |
139863
|
139864