Skip to content

Commit 0bf70ff

Browse files
author
Gaurav SinghaRoy
committedNov 28, 2014
change in display of property filters
1 parent f675d98 commit 0bf70ff

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎app/assets/javascripts/resources/querybuilder.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,12 @@ QueryBuilder = {
506506
}
507507
var div_html = "<div id='qb_properties_properties_selected_filters_list_item_"+identifier+"' class=\"alert alert-warning list-item\" property-uri=\""+property_uri+"\" filter-value=\""+uris+"\" identifier=\""+identifier+"\" filter-type='object'>";
508508
div_html += "<div class='row'><div class='col-md-10'>";
509-
div_html += "<strong>"+property_name+"</strong> "+names;
510-
div_html += "</div>";
509+
div_html += "<strong>"+property_name+"</strong> ";
510+
if($("#hdn_object_selector_filter_type").val() == "not_equals")
511+
div_html+="&nbsp;NOT IN&nbsp;";
512+
else
513+
div_html += "&nbsp;IN&nbsp;";
514+
div_html += names+"</div>";
511515
div_html += "<div class='col-md-2'><span class=\"glyphicon glyphicon-remove clickable pull-right\" onclick=\"QueryBuilder.properties.filter.remove('"+identifier+"')\"></span></div>"
512516
div_html += "</div></div>";
513517
$("#qb_properties_properties_selected_filters_list").append(div_html);

0 commit comments

Comments
 (0)
Please sign in to comment.