Koha/koha-tmpl/intranet-tmpl/prog/js/vue
Jonathan Druart 17de3a6fee
Bug 33290: Fix incorrect variable in http-client.js
Silly error from
  commit 821808ec31
  Bug 32939: Use APIClient to replace PATCH requests

+        const body = params.body
+            ? typeof str === "string"
+                ? params.body
+                : JSON.stringify(params.body)
+            : undefined;

  typeof str === "string"
must be
  typeof params.body === "string"

Test plan:
With this patch, bug 33289 is not working properly. The body contains
  "pref_var=value"
instead of
  pref_var=value
and the syspref `var` contains `value"`

Sponsored-by: BULAC - http://www.bulac.fr/
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-03-27 11:29:56 +02:00
..
components Bug 32983: Fix dropdown list when search for EBSCO's packages 2023-03-17 08:16:08 -03:00
composables
fetch Bug 33290: Fix incorrect variable in http-client.js 2023-03-27 11:29:56 +02:00
modules Bug 32983: ERM - Retrieve AVs from an endpoint 2023-03-02 14:46:09 -03:00
routes Bug 32991: Agreements: Add delete dialog to show. Removed FormConfirmDelete component and routes 2023-03-10 11:15:32 -03:00
stores Bug 32991: Don't remove all messages when confirm box is closed 2023-03-10 11:15:34 -03:00
messages.js Bug 32983: ERM - Retrieve AVs from an endpoint 2023-03-02 14:46:09 -03:00
vue-shims.d.ts