After installing the Fields Permissions Drupal module in DKAN, an error displays whenever I try to view my catalog of datasets in DKAN. It is fine for me to view individual datasets by navigating to their individual hyperlink.
Error: SQLSTATE[HY000]: General Error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column 'dkan_opendatatest.t.changed' which is not in SELECT list: this is incompatible with DISTINCT
Any ideas on how to solve this problem?
This is likely the view that drives the search page. The dropdown expects the field to be a select list but the change in the field makes that view generate a SQL query that isn't supported by MySQL.
You can likely fix this by editing the view at "/admin/structure/views/view/dkan_datasets/edit/panel_pane_1" and changing the "Indexed Node: Date changed" in "Sort criteria". Not sure offhand what the correct "Sort criteria" setting would be with your change but you can hopefully figure it out from there by changing the "Sort criteria". Maybe remove and re-add the "changed" field.