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:
Marcel de Rooy 2022-09-23 07:05:39 +00:00 committed by Tomas Cohen Arazi
parent c6b2724c2f
commit b9cab0967e
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
3 changed files with 5 additions and 5 deletions

View File

@ -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.

View File

@ -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

View File

@ -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"