Bug 30982: (QA follow-up) Spelling
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 23 Sep 2022 07:05:39 +0000 (07:05 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Sep 2022 11:57:50 +0000 (08:57 -0300)
[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>
Koha/BackgroundJob.pm
Koha/REST/V1/BackgroundJobs.pm
api/v1/swagger/paths/jobs.yaml

index df3643a..cb0f9ad 100644 (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.
 
index cb1543d..4db1ea3 100644 (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
 
index c7f0f98..62ae157 100644 (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"