Bugzilla – Attachment 140895 Details for
Bug 30982
Use the REST API for background job list view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30982: (QA follow-up) Spelling
Bug-30982-QA-follow-up-Spelling.patch (text/plain), 2.48 KB, created by
Marcel de Rooy
on 2022-09-23 09:45:52 UTC
(
hide
)
Description:
Bug 30982: (QA follow-up) Spelling
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-09-23 09:45:52 UTC
Size:
2.48 KB
patch
obsolete
>From 6c8390a8203a0015d2ef1b47f9d15e711170f0fc Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 23 Sep 2022 07:05:39 +0000 >Subject: [PATCH] Bug 30982: (QA follow-up) Spelling >Content-Type: text/plain; charset=utf-8 > >[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> >--- > Koha/BackgroundJob.pm | 6 +++--- > Koha/REST/V1/BackgroundJobs.pm | 2 +- > api/v1/swagger/paths/jobs.yaml | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/Koha/BackgroundJob.pm b/Koha/BackgroundJob.pm >index df3643a0ec..cb0f9adcea 100644 >--- a/Koha/BackgroundJob.pm >+++ b/Koha/BackgroundJob.pm >@@ -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. > >diff --git a/Koha/REST/V1/BackgroundJobs.pm b/Koha/REST/V1/BackgroundJobs.pm >index cb1543d0fe..4db1ea3f3f 100644 >--- a/Koha/REST/V1/BackgroundJobs.pm >+++ b/Koha/REST/V1/BackgroundJobs.pm >@@ -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 > >diff --git a/api/v1/swagger/paths/jobs.yaml b/api/v1/swagger/paths/jobs.yaml >index c7f0f98904..62ae157dc0 100644 >--- a/api/v1/swagger/paths/jobs.yaml >+++ b/api/v1/swagger/paths/jobs.yaml >@@ -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" >-- >2.30.2
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 30982
:
136245
|
136246
|
136670
|
136671
|
136672
|
136707
|
136708
|
136715
|
138114
|
139636
|
139637
|
139638
|
139639
|
139640
|
139641
|
140488
|
140489
|
140490
|
140491
|
140492
|
140493
|
140494
|
140495
|
140496
|
140497
|
140498
|
140589
|
140590
|
140591
|
140592
|
140593
|
140594
|
140595
|
140596
|
140597
|
140598
|
140599
|
140789
|
140884
|
140885
|
140886
|
140887
|
140888
|
140889
|
140890
|
140891
|
140892
|
140893
|
140894
| 140895 |
140896
|
140897
|
142859