]> git.koha-community.org Git - koha.git/commit
Bug 33483: Prevent 400 when more than 1 agreement is linked
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 12 Apr 2023 14:59:29 +0000 (16:59 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 11 May 2023 16:06:39 +0000 (17:06 +0100)
commitcd29bb2d5a9c4256400bacbdfdad8417240ba5cd
tree62a25f2091c6fe00761c836dd2de3761a17af6e2
parent39a16d4f6ab859abdfeec70fcd96aa2d0c8e6d53
Bug 33483: Prevent 400 when more than 1 agreement is linked

We were passing package_agreements.agreement and the server returned
Object { message: "Properties not allowed: agreement.", path: "/body/package_agreements/0" }

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit bb30aab206e218946fa3fe5104850a1d79553ac6)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOPackageAgreements.vue