listView.url override not working
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3.9k
- Forks
- 703
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the view customisation documentation and the listView.url usage shown in the report. Trace how the callback is registered and when the view URL is requested, then reproduce the missing breakpoint with the reported snippet. Done when an overridden callback is invoked and the resulting URL is used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angularjs, javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100