Bugzilla – Attachment 180702 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.75 KB, created by
PTFS Europe Sandboxes
on 2025-04-07 16:42:37 UTC
(
hide
)
Description:
Bug 39444: Make Standard consider pubmedid field
Filename:
MIME Type:
Creator:
PTFS Europe Sandboxes
Created:
2025-04-07 16:42:37 UTC
Size:
1.75 KB
patch
obsolete
>From d8688878c37ddd25f97f7896ea928405c61aeb37 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> >--- > 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 4f8f3a5ade..3379bd1d52 100644 >--- a/Koha/ILL/Backend/Standard.pm >+++ b/Koha/ILL/Backend/Standard.pm >@@ -946,6 +946,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.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 39444
:
179678
|
180702
|
182112