Order columns in multi-column pkeys correctly. Fixes #2417

This commit is contained in:
Murtuza Zabuawala 2017-05-26 11:04:32 -04:00 committed by Dave Page
parent 45d423c0ce
commit dba64e77f1

View File

@ -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():