Bugzilla – Attachment 135760 Details for
Bug 30889
Background jobs lead to wrong/missing info in logs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30889: Set interface to 'intranet'
Bug-30889-Set-interface-to-intranet.patch (text/plain), 884 bytes, created by
Jonathan Druart
on 2022-06-07 12:41:57 UTC
(
hide
)
Description:
Bug 30889: Set interface to 'intranet'
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-06-07 12:41:57 UTC
Size:
884 bytes
patch
obsolete
>From 149ac5749b10d36fe2891f8a77a6618e1ffdcc83 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 7 Jun 2022 14:41:14 +0200 >Subject: [PATCH] Bug 30889: Set interface to 'intranet' > >Is that correct? >--- > misc/background_jobs_worker.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/misc/background_jobs_worker.pl b/misc/background_jobs_worker.pl >index f10880d6ca9..fd164c18e6a 100755 >--- a/misc/background_jobs_worker.pl >+++ b/misc/background_jobs_worker.pl >@@ -124,6 +124,7 @@ sub process_job { > my $patron = Koha::Patrons->find($job->borrowernumber); > if ( $patron ) { > C4::Context->_new_userenv(-1); >+ C4::Context->interface('intranet'); > C4::Context->set_userenv( > $patron->borrowernumber, $patron->userid, > $patron->cardnumber, $patron->firstname, >-- >2.25.1
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 30889
:
135759
|
135760
|
135932
|
135933
|
135934
|
135935
|
135936
|
136294
|
136295
|
136296
|
136297
|
136298
|
136299
|
136375
|
136376
|
136784
|
136785
|
136786
|
136787
|
136788
|
136789
|
136790
|
136791
|
136792
|
136904
|
136948