I know it's probably obvious, but just in case...
As Leif suggested modify the code (for Domino 5.06+), and additionally...
In the computed text, change these two lines:
hitNum := @If(TotalHits > 250;249;TotalHits-1);
//minus a -1 to resync the numList array
textList10 := @Text(numList * 10+1);
//added a +1 to avoid the start=0
In the js script:
function searchDB(path,query) {
path+="?SearchView&Query="+query+"&start=1&Count=10";
window.location.href = "/"+path;
//added the start=1
seems to all work OK,
Regards
Glyn Thomas
I know it's probably obvious, but just in case... As Leif suggested modify the code (for Domino 5.06+), and additionally...
In the computed text, change these two lines:
hitNum := @If(TotalHits > 250;249;TotalHits-1); //minus a -1 to resync the numList array textList10 := @Text(numList * 10+1); //added a +1 to avoid the start=0
In the js script: function searchDB(path,query) { path+="?SearchView&Query="+query+"&start=1&Count=10"; window.location.href = "/"+path; //added the start=1 seems to all work OK, Regards Glyn Thomas