]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 19 Apr 2023 12:20:48 +0000 (09:20 -0300)
commitbb30aab206e218946fa3fe5104850a1d79553ac6
treecc580db3b49e1c519ebaf624617425c449c1fcf7
parent2e7ac09fe26a0fba6fa26ba7d0a4646a627594a7
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>
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOPackageAgreements.vue