Closed stryaponoff closed 3 years ago
@stryaponoff I've implemented this slightly differently, but with most of the same logic provided. Thanks for pointing out the issue that even if query strings exist, it would fail, due to the checks for viaResource and viaResourceId.
All works as expected on the resource pages until I sort the table by any sortable resource field. If I use sorting then I can see HTTP errors in browser console and only
Home
is displayed in breadcrumbs.I noticed that it's because I have not empty query but it not contains
viaResource
andviaResourceId
fields so I attach a suggestion how to solve this.