Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4826

Transition to same route with other query params

$
0
0

@GELight wrote:

Hi all,

I have 2 problems in my Application:

Question 1: For example I have opened the following route: /marketplace/customers

Is there a possibility to make a transitionTo to the same route again but with other query params? For example: /marketplace/customers // empty search result list /marketplace/customers?c=123&email=xxx@abc.de /marketplace/customers?c=321&email=aaa@bbb.de

The problem is: In first step I am in this route… /marketplace Here will be rendered a little component with a search form After submit, I trigger a transitionTo with these query params like /marketplace/customers?c=123&email=xxx@abc.de. Now the search component is still displayed. If I submit a new search the same route like /marketplace/customers?c=321&email=aaa@bbb.de will be triggered but the model() method will not be called again.

Question 2: It’s possible to change the url by transitionTo with query params?

Best regards, Mario

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles