geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
428 stars 489 forks source link

system/metadata/enableXXXview settings have no effect in angularjs #1352

Closed landryb closed 8 years ago

landryb commented 8 years ago

Since the migration to angular, the settings keys under system/metadata enableSimpleView / enableIsoView / enableInspireView / enableXmlView seem to have new effect in the new UI, they were only for the old widget UI, but they're still present on the settings page.

As far as i can guess, the 'other views' should be enabled from the JS in https://github.com/geonetwork/core-geonetwork/blob/develop/web-ui/src/main/resources/catalog/views/default/config.js#L137. Sadly, full view seems broken right now, and i'm not sure if the views available for the editor have to be configured at the same spot... doc is lagging here.

fxprunayre commented 8 years ago

only for the old widget UI, but they're still present on the settings page

Yep, this is on the TODO of https://github.com/geonetwork/core-geonetwork/issues/791. We're still keeping them AFA some projects still use gn3.x and ExtJS.

As far as i can guess, the 'other views' should be enabled from the JS

Yes for the search app.

doc is lagging here.

Could certainly be improved: