diff --git a/api/v1/swagger/paths/items.yaml b/api/v1/swagger/paths/items.yaml index 01b8d795d5..f9aa9301d1 100644 --- a/api/v1/swagger/paths/items.yaml +++ b/api/v1/swagger/paths/items.yaml @@ -308,6 +308,10 @@ description: Bad parameter schema: $ref: "../swagger.yaml#/definitions/error" + "409": + description: Conflict in creating resource + schema: + $ref: "../swagger.yaml#/definitions/error" "401": description: Authentication required schema: diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 8ec3e12a0b..c88e5717b4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1978,6 +1978,8 @@ var response = data.responseJSON; if ( response.error_code === 'already_bundled' ) { $('#addResult').replaceWith('