question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow to set `facets_array` in metadata (like current `facets`)

See original GitHub issue

For now, you can set a facets value (array) in your metadata file but I couldn’t find a way to set a facets_array in order to provide default facets for arrays (like tags). My use-case is to access to that kind of view by default without URL’s parameters as with other default facets.

I’m new to datasette, and I’m willing to help with a PR if that is not already implemented and I missed it!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
simonwcommented, Dec 16, 2021

… actually no, I WILL document this, because not documenting this is what got us to this point in the first place!

1reaction
simonwcommented, Dec 15, 2021

This is definitely a missing feature. The “different types of facet” stuff feels incomplete to me generally - this is one issue, but this one as well:

Read more comments on GitHub >

github_iconTop Results From Across the Web

generateResultsKey causing caching issue for AJAX view ...
When a users clicks a facet, the results are only updated correctly ... that doesn't let to inject cache metadata like search_api_tag does....
Read more >
Implement Facets - Coveo Documentation
A search interface often includes facets that allow the end user to narrow down a query to a ... Set the value property...
Read more >
Facets, filters, and attributes - Frontastic documentation
A data source filter of items is returned together with metadata such as total , offset , limit , and the Facets statistics;...
Read more >
Browse.conf — CollectiveAccess 1.8 documentation
Authority facets allow for browsing on cataloguing applied to the browsed item from a related authority. Eg. if you want to browse for ......
Read more >
Log Facets - Datadog Docs
As such, you can use them in your Log Explorer to: Search upon your logs · Define log patterns · Perform Log analytics....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found