mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-15 19:22:21 -06:00
Order columns in multi-column pkeys correctly. Fixes #2417
This commit is contained in:
parent
45d423c0ce
commit
dba64e77f1
@ -10,7 +10,7 @@
|
||||
""" Implemented classes for the different object type used by data grid """
|
||||
|
||||
from abc import ABCMeta, abstractmethod
|
||||
|
||||
from collections import OrderedDict
|
||||
import six
|
||||
from flask import render_template
|
||||
from flask_babel import gettext
|
||||
@ -368,7 +368,7 @@ class TableCommand(GridCommand):
|
||||
conn = manager.connection(did=self.did, conn_id=self.conn_id)
|
||||
|
||||
pk_names = ''
|
||||
primary_keys = dict()
|
||||
primary_keys = OrderedDict()
|
||||
|
||||
if conn.connected():
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user