Skip to content

Commit dd261fc

Browse files
authored
Merge pull request #299 from nexB/277-297-copyright-filter-fix
Update filter queries for new Copyright model
2 parents 15b11aa + ab786be commit dd261fc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

assets/app/js/controllers/aboutCodeScanDataTable.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ class AboutCodeScanDataTable extends Controller {
242242
query.where.$and[columnName] = {
243243
$and: [
244244
{ $ne: '[]' },
245+
{ $ne: '[[]]' },
245246
{ $ne: '' },
246247
{ $ne: '{}' }
247248
]
@@ -251,6 +252,7 @@ class AboutCodeScanDataTable extends Controller {
251252
query.where.$and[columnName] = {
252253
$or: [
253254
{ $eq: '[]' },
255+
{ $eq: '[[]]' },
254256
{ $eq: '' },
255257
{ $eq: '{}' },
256258
{ $eq: null }

0 commit comments

Comments
 (0)