Skip to content

Conversation

ckanbot
Copy link

@ckanbot ckanbot commented Jun 20, 2024

This is an automated backport pull request 🏗️.

Details

Original pull request #8284 (Prevent exception in Datatables view when the size field is missing)
Original author @amercader
Target branch dev-v2.11

Please make sure that all relevant checks pass before merging it.

For instance when using a custom schema without this field.

Also use the `h.localise_filesize()` helper instead of the more
convoluted `h.SI_number_span(res.size)|striptags`

(cherry picked from commit 3a50fc1)
(cherry picked from commit d154cfe)
@wardi wardi merged commit f90a63f into dev-v2.11 Jun 20, 2024
@wardi wardi deleted the backport-8284-to-dev-v2.11 branch June 20, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants