Bugzilla – Attachment 182112 Details for
Bug 39444
Standard form does not consider PubMed ID
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39444: Make Standard consider pubmedid field
Bug-39444-Make-Standard-consider-pubmedid-field.patch (text/plain), 1.87 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-05-08 19:57:40 UTC
(
hide
)
Description:
Bug 39444: Make Standard consider pubmedid field
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-05-08 19:57:40 UTC
Size:
1.87 KB
patch
obsolete
>From 316439b0e46ebc2bf9727d60a75f272bc9120a4a Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Mon, 24 Mar 2025 16:39:39 +0000 >Subject: [PATCH] Bug 39444: Make Standard consider pubmedid field > >This field may be added by a plugin or jQuery, so Standard should consider it as a possibility. >This patch does not change anything for existing users that do not add a 'pubmed id' field themselves. > >1) Enable ILLModule >2) Install the ILL Actions plugin: >https://github.com/PTFS-Europe/koha-plugin-ill-actions/releases/tag/v2.0.1 >3) Create a new ILL request: >http://localhost:8081/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard >4) Pick type: 'Journal article', notice a top pop-up for DOI/PubMed ID now shows. This is coming from the plugin. >5) Add something to the pubmedid input like '123'. Notice the metadata is auto-filled. >6) Add a patron cardnumber '42'. Notice the library is automatically picked. Click 'Create'. >7) On the manage request screen, notice the PubMed ID is not shown. This is because it was not saved. >8) Apply patch and repeat. > >Signed-off-by: Jeremy Evans <jeremy.evans@ukhsa.gov.uk> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Edit (tcohen): adapted to 38339 >--- > Koha/ILL/Backend/Standard.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/Koha/ILL/Backend/Standard.pm b/Koha/ILL/Backend/Standard.pm >index 9f783893066..5962cd17653 100644 >--- a/Koha/ILL/Backend/Standard.pm >+++ b/Koha/ILL/Backend/Standard.pm >@@ -957,6 +957,8 @@ sub _get_core_fields { > published_date => __('Publication date'), > published_place => __('Place of publication'), > publisher => __('Publisher'), >+ pubmedid => __('PubMed ID'), >+ pmid => __('PubMed ID'), > sponsor => __('Sponsor'), > studio => __('Studio'), > title => __('Title'), >-- >2.49.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 39444
:
179678
|
180702
| 182112