lutraconsulting / qgis-geocat-plugin

Plugin for loading PostGIS layers based on a metadata search
GNU General Public License v2.0
5 stars 1 forks source link

Can't leave ignore and restricted columns set to Disabled #30

Closed mtravis closed 5 years ago

mtravis commented 5 years ago

After leaving these columns set to disabled I get the following error.

File "C:/Users/mtravis/.qgis2/python/plugins\GeoCat\geo_cat_dialog.py", line 314, in search
                cur.execute(qry, query_dict)
              File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\psycopg2\extras.py", line 144, in execute
                return super(DictCursor, self).execute(query, vars)
            ProgrammingError: column cat.--DISABLED-- does not exist
            LINE 32:                 cat."--DISABLED--" != TRUE AND
mostlyAtNight commented 5 years ago

This should be fixed in the latest version. Please re-open if not the case.