Bugzilla – Attachment 162600 Details for
Bug 34920
ERM breaks if an ERM authorized value is missing a description
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34920: (QA follow-up): Return sorted av_cats to be able to test
Bug-34920-QA-follow-up-Return-sorted-avcats-to-be-.patch (text/plain), 1.20 KB, created by
Pedro Amorim
on 2024-02-29 13:47:15 UTC
(
hide
)
Description:
Bug 34920: (QA follow-up): Return sorted av_cats to be able to test
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-02-29 13:47:15 UTC
Size:
1.20 KB
patch
obsolete
>From a0ac2325ea86d4740263128a0db1acdf4b8b741a Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 29 Feb 2024 13:43:47 +0000 >Subject: [PATCH] Bug 34920: (QA follow-up): Return sorted av_cats to be able > to test > >--- > Koha/REST/V1/AuthorisedValueCategories.pm | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/Koha/REST/V1/AuthorisedValueCategories.pm b/Koha/REST/V1/AuthorisedValueCategories.pm >index 3a7872f6de8..f3245115c1e 100644 >--- a/Koha/REST/V1/AuthorisedValueCategories.pm >+++ b/Koha/REST/V1/AuthorisedValueCategories.pm >@@ -36,8 +36,9 @@ sub list { > my $c = shift->openapi->valid_input or return; > > return try { >- my $authorised_value_categories_set = Koha::AuthorisedValueCategories->new; >- my $authorised_value_categories = $c->objects->search( $authorised_value_categories_set ); >+ my $authorised_value_categories_set = >+ Koha::AuthorisedValueCategories->search( {}, { order_by => 'category_name' } ); >+ my $authorised_value_categories = $c->objects->search($authorised_value_categories_set); > return $c->render( status => 200, openapi => $authorised_value_categories ); > } > catch { >-- >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 34920
:
162036
|
162037
|
162120
|
162121
|
162600
|
162601
|
162604
|
162605
|
162608
|
162609
|
163628
|
163629
|
163630
|
163631
|
168257
|
168258
|
168259
|
168260