Re: [pgAdmin][RM5157] Default sort order at start in view table data by primary key by default

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: navnath gadakh <navnath(dot)gadakh(at)enterprisedb(dot)com>
Cc: Dave Page <dave(dot)page(at)enterprisedb(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin][RM5157] Default sort order at start in view table data by primary key by default
Date: 2020-04-16 11:26:23
Message-ID: CAFOhELch8tHRp+efzwPUC52W6-K6P1H3XoRg176fy04EHzbsVg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Navnath,

On Thu, Apr 16, 2020 at 4:38 PM navnath gadakh <
navnath(dot)gadakh(at)enterprisedb(dot)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
>

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2020-04-16 11:30:46 Re: [pgAdmin][RM5157] Default sort order at start in view table data by primary key by default
Previous Message Nagesh Dhope 2020-04-16 11:13:31 [pgAdmin][RM4573] Download csv as .csv when delimeter set comma(,)