Bugzilla – Attachment 187831 Details for
Bug 40826
nbofuser not incremented when using a mana report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40826: nbofuser increment when importing report from mana
Bug-40826-nbofuser-increment-when-importing-report.patch (text/plain), 785 bytes, created by
elias.lorgnier@biblibre.com
on 2025-10-13 11:36:57 UTC
(
hide
)
Description:
Bug 40826: nbofuser increment when importing report from mana
Filename:
MIME Type:
Creator:
elias.lorgnier@biblibre.com
Created:
2025-10-13 11:36:57 UTC
Size:
785 bytes
patch
obsolete
>From b9383f0833dd08868588c8a470edb8617607dce3 Mon Sep 17 00:00:00 2001 >From: Elias <elias.lorgnier@biblibre.com> >Date: Mon, 13 Oct 2025 10:03:34 +0000 >Subject: [PATCH] Bug 40826: nbofuser increment when importing report from mana > >--- > svc/mana/use | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/svc/mana/use b/svc/mana/use >index 446c62e3d5..37cb367428 100755 >--- a/svc/mana/use >+++ b/svc/mana/use >@@ -49,6 +49,12 @@ my $resource; > > if ( $input->param('saveinbase') ) { > $resource = { id => $package->new_from_mana( $result->{data} )->id }; >+ Koha::SharedContent::increment_entity_value( >+ scalar $input->param('resource'), >+ scalar $input->param('id'), >+ 'nbofusers', >+ 1 >+ ); > } else { > $resource = $result->{data}; > } >-- >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 40826
:
187831
|
187832