Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

listView.url override not working #871

Open
cookingkode opened this issue Dec 30, 2015 · 4 comments
Open

listView.url override not working #871

cookingkode opened this issue Dec 30, 2015 · 4 comments
Labels

Comments

@cookingkode
Copy link

As described in the view customisation doc, I over-rode the url function for the view to hit a specific URL
:
mySku.listView().url(function(entityId) {
return '/sku/';
});

However this is not working. I tried setting a breakpoint inside the callback; that also is never reached..
What am i doing wrong?

@cookingkode
Copy link
Author

A related issue. editionView().url() override is working, but I want the URL to be hit only for POST . Is there a way i can get operation in the view?

@daniel-rosiak
Copy link

👍

Got same issue. I can change url but i dont get "entityId" - undefined instead.

xx.editionView().url(function(entityId) {
    console.log(entityId);  // this shows "undefined"
    return 'route/' + entityId; 
})

@SebLours
Copy link
Contributor

Same issue for me on editionView, identifierValue is undefined.

@mintu19
Copy link

mintu19 commented Dec 3, 2016

Same issue with editionView and showview. entityId is undefined.
http://stackoverflow.com/questions/40923604/ng-admin-identifier-not-highlighted-and-entityid-not-set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants