Re: [pgAdmin][RM5157] Default sort order at start in view table databy primary key by default - Mailing list pgadmin-hackers

From Khushboo Vashi
Subject Re: [pgAdmin][RM5157] Default sort order at start in view table databy primary key by default
Date
Msg-id CAFOhELch8tHRp+efzwPUC52W6-K6P1H3XoRg176fy04EHzbsVg@mail.gmail.com
Whole thread Raw
In response to [pgAdmin][RM5157] Default sort order at start in view table data byprimary key by default  (navnath gadakh <navnath.gadakh@enterprisedb.com>)
List pgadmin-hackers
Hi Navnath,

On Thu, Apr 16, 2020 at 4:38 PM navnath gadakh <navnath.gadakh@enterprisedb.com> wrote:
Hi Dave/Team,
          This patch is related to the default sort order for the view table data. In pgAdminIII default ordering is by primary key and this is not working in pgAdminIV.
I have attached the patch with the back end code.

Please review it.

Question: There is one suggestion on https://redmine.postgresql.org/issues/5157 about to put a checkbox in the configuration for this behavior.
                  Do I need to implement that really? I yes, Is preferences a good place for that? / Suggestions?

I don't think we should have any configuration option for this as users can change/delete the sorting order by using sort/filter dialog.
Also, please check this patch with the tables without Primary key, it might fail.

Thanks,
Khushboo
Thanks!

--
Regards,
Navnath Gadakh

pgadmin-hackers by date:

Previous
From: Nagesh Dhope
Date:
Subject: [pgAdmin][RM4573] Download csv as .csv when delimeter set comma(,)
Next
From: Dave Page
Date:
Subject: Re: [pgAdmin][RM5157] Default sort order at start in view table databy primary key by default