From: Wolfram Schneider Date: Wed, 15 Oct 2014 12:50:07 +0000 (+0200) Subject: sorting: display title number in debug log X-Git-Tag: 1.0.0~192^2~14 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=ab19737d6c0bf75c470a8c9248a6d26b63afca93;p=mkws-moved-to-github.git sorting: display title number in debug log --- diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index fe0e345..274e45f 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -716,7 +716,7 @@ describe("Check SortBy options", function () { var title_list_new = title_list("yyy "); var diff_flag = 0; for (var i = 0; i < title_list_old.length; i++) { - debug(title_list_old[i] + " :: " + title_list_new[i]); + debug((i+1) + ". " + title_list_old[i] + " :: " + title_list_new[i]); if (title_list_old[i] != title_list_new[i]) { diff_flag++;