I have a Display View (ListFormWebPart) of an Item with a related items list on SP2013. This related view shows 10 items per page and as standard there is the naviagation to see other items:
Once I click on the arrow i get the following javascript error on line 1063 of core.js (h.style.display = "";):
Uncaught TypeError: Cannot read property 'style' of null SPAnimUtil_TableAnimator.AnimatePaging @ core.js?rev=eO228IFs9%2B4m4mcGscwRoQ%3D%3D:formatted:1063 AnimateListDelta @ inplview.js?rev=3adeDef4Nq%2BgGmCxJ9kLlA%3D%3D:1 ReRenderListView @ inplview.js?rev=3adeDef4Nq%2BgGmCxJ9kLlA%3D%3D:1 CLVPRefreshCore.c.onreadystatechange @ inplview.js?rev=3adeDef4Nq%2BgGmCxJ9kLlA%3D%3D:1
and the empty list which tells that there are no items to show...even if there should be:
I debugged a lot, in fact the JS makes a call to the server asking the data of the nextpage, adds a new tbody to the table, makes the animation and removes the old tbody. The problem is that there is no second tbody, since the api does not return any item.
The query is the following:
http://mySharePoint/_layouts/15/inplview.aspx?List=%7B2661AF90-3C74-4E5A-9486-E65BD49DD558%7D&View=%7BAA66B717-0316-4051-AFAD-AF86D8BC3583%7D&ViewCount=364&IsXslView=TRUE&IsCSR=TRUE&ListViewPageUrl=http%3A%2F%2FmySharePoint%2FLists%2FAngebote%2FDispForm.aspx&Paged=TRUE&p_Reihenfolge=0&p_ID=2248&PageFirstRow=11&FilterField1=Angebot&FilterValue1=2287&FilterLookupId1=1
The link includes the flag FilterLookupId1=1 since I'm filtering per ID of the item. Trying to make the same call by removing the flag and putting the string value of the item indtead the ID it works....so it MUST be a server problem and I wonder that no other have the same problem.
This would be the new query:
http://mySharePoint/_layouts/15/inplview.aspx?List=%7B2661AF90-3C74-4E5A-9486-E65BD49DD558%7D&View=%7BAA66B717-0316-4051-AFAD-AF86D8BC3583%7D&ViewCount=364&IsXslView=TRUE&IsCSR=TRUE&ListViewPageUrl=http%3A%2F%2FmySharePoint%2FLists%2FAngebote%2FDispForm.aspx&Paged=TRUE&p_Reihenfolge=0&p_ID=2248&PageFirstRow=11&FilterField1=Angebot&FilterValue1=001/2009
Edit June 12, 2017: Calling a query to filter a listview, it works
http://mySharepoint/Lists/MyList/MyView.aspx?View={285BEB44-FCF4-447A-8C17-0DB37F47D465}&FilterField1=Angebot&FilterValue1=2287&FilterLookupId1=1