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.

compose a link to filter a result and switching between two indices

See original GitHub issue

Hello, Currently facing 2 issues at the moment. I have to 2 indices(groups and students). Groups Indice contains group details and list of students under it.

first, I want to compose a URL/route in such a way when I click on a group, it will take students index page which will be filtered by group.

secondly, I defined a facet age on my student index. switching between the 2 indices page(groups and students) using, i got an error Error in render: "Error: age is not present in facets or disjunctiveFacets". I don’t know what went wrong but when I do a hard refresh, the age filter will display. Note: I’m using ais-range-input component for the age facet.

After Hard refresh.

image

After switching between group page and student page

image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
rayrutjescommented, Nov 14, 2017

@iamraphson could you create a small repo with the code so that we can run it? I don’t see any obvious things that could be problematic in the above code so we would have to run it.

Maybe @samouss can help on this one.

1reaction
iamraphsoncommented, Nov 14, 2017

@rayrutjes I think something is wrong with ais-range-input component. I tried it with ais-price-range component, I switch between pages and it worked fine with no error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Excel FILTER function with formula examples - Ablebits
See how to filter in Excel dynamically with formulas. Examples to filter duplicates, cells containing certain text, with multiple criteria, ...
Read more >
Jetpack compose list wrong item selected after reordering or ...
But, when I apply a filter or I change the list sorting and the loadProfiles() function is called: the list correctly changes accordingly...
Read more >
Filtering Data in Python with Boolean Indexes - Mode Analytics
Learn how to filter & segment data using boolean indexing & partially match text with .str.contains() using Pandas methods & objects in this...
Read more >
Filter Data from Your Views - Tableau Help
For example, the view shown below consists of two unrelated dimensions placed ... then applies table calculation filters on the results in the...
Read more >
DataWeave filter function: How to filter items in an Array
To use filter , you will need to pass two arguments: an Array of any type and a function (or a condition) to...
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