Commits

WAKAYAMA shirou committed bace706

add index title to results.

  • Participants
  • Parent commits 854ce36

Comments (0)

Files changed (1)

File src/dipus/_static/js/search_dipus.js

 		  success: function(json){
 			  for(var i = 0; i < json.hits.length; i++){
 				  var hit = json.hits[i];
-				  var listItem = $('<li style="display:none"></li>');
+				  var listItem = $('<li style="display:none">' + hit._index + ' : </li>');
 				  var msgbody = hit._source.message;
 				  listItem.append($('<a/>').attr('href',
 												 hit._source.doc_url + "/" +