[GeoNetwork-devel] metadata status - question

Is the metadata status option in the advanced search still working? I just
did a test with 2.10.0 snapshot and the search always shows "Any" - it does
not show the other options.

I noticed that in searchform_advanced.xsl the status dropdown list is shown
as
    <xsl:for-each select="/root/gui/status/record">
When I think it should be
    <xsl:for-each select="/root/gui/status/statusvalues/status">

If I fix this then the status will show up in the drop down list but it
does not seem to get filtered in the search results.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/metadata-status-question-tp5060177.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Hi Ian,

as far as I can see, it was introduced in https://github.com/geonetwork/core-geonetwork/commit/eaf440f4589bb2622a17fc267ecd4b86d0c1858a and has since always been

<xsl:for-each select=“/root/gui/status/record”>

So maybe another change elsewhere is causing this behaviour ?

Kind regards
Heikki Doeleman

On Fri, Jun 14, 2013 at 2:01 PM, ianwallen <ianwallen@anonymised.com> wrote:

Is the metadata status option in the advanced search still working? I just
did a test with 2.10.0 snapshot and the search always shows “Any” - it does
not show the other options.

I noticed that in searchform_advanced.xsl the status dropdown list is shown
as
<xsl:for-each select=“/root/gui/status/record”>
When I think it should be
<xsl:for-each select=“/root/gui/status/statusvalues/status”>

If I fix this then the status will show up in the drop down list but it
does not seem to get filtered in the search results.


View this message in context: http://osgeo-org.1560.x6.nabble.com/metadata-status-question-tp5060177.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.


This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

This bug was fixed in 2.8

See Issue 139 <https://github.com/geonetwork/core-geonetwork/issues/139&gt;
for more details.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/metadata-status-question-tp5060177p5062789.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.