Bug 34448: Update the way we handle response in http-client.js
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Mon, 31 Jul 2023 14:57:06 +0000 (14:57 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Fri, 15 Sep 2023 10:08:31 +0000 (10:08 +0000)
commit0dfb03d27551a4ade1bd6e6f6c0ac86b2a28a2c2
treeb6de351f0a476b00c194d0f280a8418a1e8f22f3
parent5f659acb2be6a56dec14e5187ad00f32747b3e2b
Bug 34448: Update the way we handle response in http-client.js

Test plan:
Before patch:
- Visit a non-existent ID i.e. /cgi-bin/koha/erm/agreements/999
- Visit a char ID i.e. /cgi-bin/koha/erm/agreements/abc

Apply patch:
Repeat above steps.

Run cypress tests

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2a0fcd9ddacf7bce25912778746f9994c06cdabe)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/vue/fetch/http-client.js