• getResultsInJSON() is sometimes called before the search is finished

    By Nils T Hjelme 1 decade ago

    There seems to be a problem that the getResultsInJSON() is sometimes called before the search is finished, making the shown search result inconsistent. Sometimes it shows only partial of the result or it's completely missing..

    I moved the looping through the database list inside the data attribute of the dojo.data.ItemFileReadStore, so that everything is called in the right order, this seems to fix the problem..