Category filter not working with Quarto 1.6/1.7? #12243
mcanouil
started this conversation in
Show and Tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
If you find yourself with a Quarto site where the category filter is no longer working in your listing, it might be because of an outdated version of the libraries in the freezer (i.e.,
_freeze
).Check for
_freeze/site_libs
.Delete it and render again.
The key file is
site_libs/quarto-listing/quarto-listing.js
which should contain the following at the beginning (it's not the only difference, but that's the obvious one since it's at the beginning):Edit: if you are using a custom listing, ensure you are using:
<%= metadataAttrs(item) %>
documented as a requirement in Custom listing page for "sorting, filtering, and pagination".You also need to update the EJS variable to retrieve the category, now encoded as base64:
instead of the outdated (<=1.6.40):
Beta Was this translation helpful? Give feedback.
All reactions