Bug 30982: (QA follow-up) Spelling
[1] Correct: BackgrounJob [2] If should filter out not current jobs => Had a hard time reading that one until I replaced if by it. => Decided to rephrase it in a more positive way. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
c6b2724c2f
commit
b9cab0967e
|
|
@ -47,7 +47,7 @@ my $job_id = Koha::BackgroundJob->enqueue(
|
|||
);
|
||||
|
||||
Consumer:
|
||||
Koha::BackgrounJobs->find($job_id)->process;
|
||||
Koha::BackgroundJobs->find($job_id)->process;
|
||||
See also C<misc/background_jobs_worker.pl> for a full example
|
||||
|
||||
=head1 API
|
||||
|
|
@ -386,7 +386,7 @@ sub _derived_class {
|
|||
|
||||
=head3 type_to_class_mapping
|
||||
|
||||
my $mapping = Koha::BackgrounJob->new->type_to_class_mapping;
|
||||
my $mapping = Koha::BackgroundJob->new->type_to_class_mapping;
|
||||
|
||||
Returns the available types to class mappings.
|
||||
|
||||
|
|
@ -404,7 +404,7 @@ sub type_to_class_mapping {
|
|||
|
||||
=head3 core_types_to_classes
|
||||
|
||||
my $mappings = Koha::BackgrounJob->new->core_types_to_classes
|
||||
my $mappings = Koha::BackgroundJob->new->core_types_to_classes
|
||||
|
||||
Returns the core background jobs types to class mappings.
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ use Try::Tiny;
|
|||
|
||||
=head3 list
|
||||
|
||||
Controller function that handles listing Koha::BackgrounJob objects
|
||||
Controller function that handles listing Koha::BackgroundJob objects
|
||||
|
||||
=cut
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
in: query
|
||||
required: false
|
||||
type: boolean
|
||||
description: If should filter out not current jobs
|
||||
description: Only include current jobs
|
||||
- $ref: "../swagger.yaml#/parameters/match"
|
||||
- $ref: "../swagger.yaml#/parameters/order_by"
|
||||
- $ref: "../swagger.yaml#/parameters/page"
|
||||
|
|
|
|||
Loading…
Reference in New Issue