[pgAdmin4][Patch]: RM1570 - Cannot select template databases when creating a database - Mailing list pgadmin-hackers

From Surinder Kumar
Subject [pgAdmin4][Patch]: RM1570 - Cannot select template databases when creating a database
Date
Msg-id CAM5-9D_CU0SN5m=SbwbgYKkmQ0FvsgbJjJwhOdwrJhwAiwS_GA@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin4][Patch]: RM1570 - Cannot select template databases when creating a database  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Hi

Issue:
We are using 'node-list-by-name' control to get list of db nodes using database 'nodes' method which filters out names based on 'show system objects' value.

Solution:
Override node-list-by-name transform method and define a new method 'get_databases' which fetches all nodes including template nodes.

Please find attached patch and review.

Thanks,
Surinder Kumar
Attachment

pgadmin-hackers by date:

Previous
From: Khushboo Vashi
Date:
Subject: Re: [pgAdmin4][Patch]: Fix for RM#1311 - Toolbar icon shown initalics on Windows
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Allow template databases to be used when creating new