[patch] update table name in confirmation dialog for 'Reset Statistics' and 'Truncate Table'

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [patch] update table name in confirmation dialog for 'Reset Statistics' and 'Truncate Table'
Date: 2017-05-18 09:17:31
Message-ID: CANxoLDczJ5ckfbMGM8i3MxNp+VB0D5ABrH1s7D_xGUJxZLD_4Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi All

I have found one issue where table name is not displaying in the confirmation
dialog when user click on "Reset Statistics" and "Truncate/Truncate
cascade". Confirmation dialog shows below message:

- Are you sure you want to truncate table {}?
- Are you sure you want to reset the statistics for table {}?

Also header is missing for "Truncate/Truncate cascade" confirmation dialog.
Attached is the patch file to fix that above. Please review it.

--
*Akshay Joshi*
*Principal Software Engineer *

*Phone: +91 20-3058-9517Mobile: +91 976-788-8246*

Attachment Content-Type Size
Truncate.patch application/octet-stream 1.6 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-05-18 09:30:46 Re: [patch] update table name in confirmation dialog for 'Reset Statistics' and 'Truncate Table'
Previous Message Murtuza Zabuawala 2017-05-18 08:56:13 Re: [pgAdmin4] [PATCH] History Tab rewrite in React