mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-14 09:01:59 -05:00
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 #5043
This commit is contained in:
1 parent
76eb3e9b67
commit
b80784f5a1
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user