Fixed an issue where the user should not be able to add columns in the creation order after 50 columns.
Regression of the initial patch. Fixes #5043pull/32/head
parent
76eb3e9b67
commit
b80784f5a1
|
@ -1038,8 +1038,8 @@ define('pgadmin.browser', [
|
|||
i = items.eq(e);
|
||||
d = ctx.t.itemData(i);
|
||||
if (d._type === 'column') {
|
||||
if (pgAdmin.numeric_comparator(d._id, _data._id) != -1)
|
||||
return true;
|
||||
if (pgAdmin.numeric_comparator(d._id, _data._id) == -1)
|
||||
return false;
|
||||
} else {
|
||||
if (pgAdmin.natural_sort(d._label, _data._label) != 1)
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue