Skip to content

Commit

Permalink
Added Limit field to Webservice payload.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Bethke authored and jepf committed Sep 25, 2023
1 parent c44eb90 commit 7e46278
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 32 deletions.
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ The following persons contributed to Znuny:
* Martin Gross <martin@pc-coholic.de>
* Martin Gruner <martin.gruner@otrs.com>
* Mathias Bräunling <mathias.braeunling@otrs.com>
* Matthias Bethke <mb@znuny.com>
* Michael Tänzer <neo@nhng.de>
* Michiel Beijen <michiel.beijen@otrs.com>
* Milan Rakic <mrakic@s7designcreative.com>
Expand Down
20 changes: 4 additions & 16 deletions Kernel/System/DynamicField/Webservice/DirectRequest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,11 @@ use Kernel::System::VariableCheck qw(:all);
Kernel::System::DynamicField::Webservice::DirectRequest - Dynamic field web service direct request backend lib
=head1 PUBLIC INTERFACE
=head2 new()
Creates an object
=head1 INHERITS
my $DynamicFieldWebserviceDirectRequestObject = $Kernel::OM->Get('Kernel::System::DynamicField::Webservice::DirectRequest');
=cut
L<Kernel::System::DynamicField::Webservice::Base>
sub new {
my ( $Type, %Param ) = @_;

my $Self = {};
bless( $Self, $Type );

return $Self;
}
=head1 PUBLIC INTERFACE
=head2 Request()
Expand Down Expand Up @@ -103,6 +90,7 @@ sub Request {
Invoker => $Param{Invoker},
Data => {
%{ $Param{Data} },
Limit => $Param{Limit},
SearchTerms => $Param{SearchTerms},
UserID => $Param{UserID},
},
Expand Down
20 changes: 4 additions & 16 deletions Kernel/System/DynamicField/Webservice/ResponseValues.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,11 @@ use Kernel::System::VariableCheck qw(:all);
Kernel::System::DynamicField::Webservice::ResponseValues - Dynamic field web service response values backend lib
=head1 PUBLIC INTERFACE
=head2 new()
Creates an object
=head1 INHERITS
my $DynamicFieldWebserviceResponseValuesObject = $Kernel::OM->Get('Kernel::System::DynamicField::Webservice::ResponseValues');
=cut
L<Kernel::System::DynamicField::Webservice::Base>
sub new {
my ( $Type, %Param ) = @_;

my $Self = {};
bless( $Self, $Type );

return $Self;
}
=head1 PUBLIC INTERFACE
=head2 Request()
Expand Down Expand Up @@ -103,6 +90,7 @@ sub Request {
Invoker => $Param{Invoker},
Data => {
%{ $Param{Data} },
Limit => $Param{Limit},
SearchTerms => $Param{SearchTerms},
UserID => $Param{UserID},
},
Expand Down

0 comments on commit 7e46278

Please sign in to comment.