Open Gustry opened 4 years ago
It's done.
The last thing to do is to be able to query the correct connection name in the dock, instead of querying all connections.
I would also add a simple way to let the user fill in the QGIS global variable pgmetadata_connection_names
with a button (or combobox or dedicated processing algorithm) which is visible in the dock.
We could add this UI widget only if the pgmetadata_connection_names
is not set, or always
Done in 9c348fd, there is now a algorithm to select one or many databases.
For now, we are using a global connection variable to let the plugin knows where is the
pgmetadata
schema. This is needed for the locator for instance, to know in which database the query can be made.For the OTF metadata display, we should check in the current database layer, and not using the variable. But people might wonder why the results is different between the locator?