Adjust text discovery after layout change
[infodrom.org/service.infodrom.org] / src / InfoCon / stempel / status.wml
index 6adea17..72fc3da 100644 (file)
@@ -301,7 +301,7 @@ function filter_change(e)
     var cnum = 0;
     $('table#table_'+form+' tbody tr').not('.deleted').each(function(i,e){
        if (filter.length) {
-           var td = $(this).find('td:nth-child(4)');
+           var td = $(this).find('td:nth-child(5)');
            if (td.text().toLowerCase().indexOf(filter) > -1) {
                $(this).removeClass('t0').removeClass('t1').addClass('t'+cnum).show();
                cnum = cnum ? 0 : 1;