File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -230,10 +230,18 @@ function GetRootCountInformation(root_docs, filter_manager){
230
230
var acc = null ;
231
231
var fqs = resp . parameter ( 'fq' ) ;
232
232
us . each ( fqs , function ( fq ) {
233
- if ( fq . substr ( 0 , 17 ) === closure_name ) {
234
- acc = fq . substr ( 18 , fq . length - 1 ) ;
235
- acc = bbop . dequote ( acc ) ;
236
- }
233
+ if ( closure_name === 'regulates_closure' ) {
234
+ if ( fq . substr ( 0 , 17 ) === closure_name ) {
235
+ acc = fq . substr ( 18 , fq . length - 1 ) ;
236
+ acc = bbop . dequote ( acc ) ;
237
+ }
238
+ }
239
+ if ( closure_name === 'isa_partof_closure' ) {
240
+ if ( fq . substr ( 0 , 18 ) === closure_name ) {
241
+ acc = fq . substr ( 19 , fq . length - 1 ) ;
242
+ acc = bbop . dequote ( acc ) ;
243
+ }
244
+ }
237
245
} ) ;
238
246
239
247
console . log ( 'root accumulation action for: ' + acc ) ;
You can’t perform that action at this time.
0 commit comments