Skip to content

Commit cf7847f

Browse files
committed
Fix collection list URL count issue
1 parent b7f6321 commit cf7847f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

sde_indexing_helper/static/js/collection_list.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,43 +23,43 @@ let table = $('#collection_table').DataTable({
2323
{
2424
label: '0 URLs',
2525
value: function (rowData, rowIdx) {
26-
return $(rowData[4]).text() == 0;
26+
return $(rowData[3]).text() == 0;
2727
}
2828
},
2929
{
3030
label: '1 solo URL',
3131
value: function (rowData, rowIdx) {
32-
return $(rowData[4]).text() == 1;
32+
return $(rowData[3]).text() == 1;
3333
}
3434
},
3535
{
3636
label: '1 to 100 URLs',
3737
value: function (rowData, rowIdx) {
38-
return $(rowData[4]).text() <= 100 && $(rowData[4]).text() > 1;
38+
return $(rowData[3]).text() <= 100 && $(rowData[3]).text() > 1;
3939
}
4040
},
4141
{
4242
label: '100 to 1,000 URLs',
4343
value: function (rowData, rowIdx) {
44-
return $(rowData[4]).text() <= 1000 && $(rowData[4]).text() > 100;
44+
return $(rowData[3]).text() <= 1000 && $(rowData[3]).text() > 100;
4545
}
4646
},
4747
{
4848
label: '1000 to 10,000 URLs',
4949
value: function (rowData, rowIdx) {
50-
return $(rowData[4]).text() <= 10000 && $(rowData[4]).text() > 1000;
50+
return $(rowData[3]).text() <= 10000 && $(rowData[3]).text() > 1000;
5151
}
5252
},
5353
{
5454
label: '10000 to 100,000 URLs',
5555
value: function (rowData, rowIdx) {
56-
return $(rowData[4]).text() <= 100000 && $(rowData[4]).text() > 10000;
56+
return $(rowData[3]).text() <= 100000 && $(rowData[3]).text() > 10000;
5757
}
5858
},
5959
{
6060
label: 'Over 100,000 URLs',
6161
value: function (rowData, rowIdx) {
62-
return $(rowData[4]).text() > 100000;
62+
return $(rowData[3]).text() > 100000;
6363
}
6464
}
6565
]

0 commit comments

Comments
 (0)