Commit 0bf70ff Gaurav SinghaRoy
committed Nov 28, 2014
1 parent f675d98 commit 0bf70ff Copy full SHA for 0bf70ff
File tree 1 file changed +6
-2
lines changed
app/assets/javascripts/resources
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -506,8 +506,12 @@ QueryBuilder = {
506
506
}
507
507
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'>" ;
508
508
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 += " NOT IN " ;
512
+ else
513
+ div_html += " IN " ;
514
+ div_html += names + "</div>" ;
511
515
div_html += "<div class='col-md-2'><span class=\"glyphicon glyphicon-remove clickable pull-right\" onclick=\"QueryBuilder.properties.filter.remove('" + identifier + "')\"></span></div>"
512
516
div_html += "</div></div>" ;
513
517
$ ( "#qb_properties_properties_selected_filters_list" ) . append ( div_html ) ;
You can’t perform that action at this time.
0 commit comments