Bug 40774: Fix content type description

The authorised value category for 'EBook' is not defined.

Signed-off-by: Christian Nelson <christian.nelson@uwasa.fi>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit c62b4a031e)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Jonathan Druart 2025-09-09 14:08:54 +02:00 committed by Paul Derscheid
parent cca28e4314
commit dce4312d91
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 6 additions and 1 deletions

View File

@ -236,7 +236,12 @@ export default {
searchable: false,
orderable: false,
render: function (data, type, row, meta) {
return escape_str(get_lib_from_av(row.content_type));
return escape_str(
get_lib_from_av(
"av_package_content_types",
row.content_type
)
);
},
},
];