From: <jes...@us...> - 2010-09-27 10:04:29
|
Revision: 6595 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=6595&view=rev Author: jesseeichar Date: 2010-09-27 10:04:23 +0000 (Mon, 27 Sep 2010) Log Message: ----------- fix for 20273. Number of children displayed is limitted to 10. Removed restriction Modified Paths: -------------- sandbox/geocat.ch/trunk/src/org/fao/geonet/guiservices/metadata/GetChildren.java sandbox/geocat.ch/trunk/src/org/fao/geonet/kernel/search/MetaSearcher.java sandbox/geocat.ch/trunk/web/geonetwork/scripts/editor/KeywordSelectionPanel.js Modified: sandbox/geocat.ch/trunk/src/org/fao/geonet/guiservices/metadata/GetChildren.java =================================================================== --- sandbox/geocat.ch/trunk/src/org/fao/geonet/guiservices/metadata/GetChildren.java 2010-09-24 10:16:17 UTC (rev 6594) +++ sandbox/geocat.ch/trunk/src/org/fao/geonet/guiservices/metadata/GetChildren.java 2010-09-27 10:04:23 UTC (rev 6595) @@ -103,7 +103,8 @@ parameters.addContent(new Element("parentUuid").setText(uuid)); parameters.addContent(new Element("isAdmin").addContent("true")); parameters.addContent(new Element("fast").addContent("true")); - + parameters.addContent(new Element("maxSummaryKeys").addContent("9999")); + searcher.search(null, parameters, _config ); Log.info(Geonet.SEARCH_LOGGER, "Getting children search summary"); Modified: sandbox/geocat.ch/trunk/src/org/fao/geonet/kernel/search/MetaSearcher.java =================================================================== --- sandbox/geocat.ch/trunk/src/org/fao/geonet/kernel/search/MetaSearcher.java 2010-09-24 10:16:17 UTC (rev 6594) +++ sandbox/geocat.ch/trunk/src/org/fao/geonet/kernel/search/MetaSearcher.java 2010-09-27 10:04:23 UTC (rev 6595) @@ -76,7 +76,7 @@ } catch (Exception e) { - _to = 10; + _to = Integer.MAX_VALUE; } } Modified: sandbox/geocat.ch/trunk/web/geonetwork/scripts/editor/KeywordSelectionPanel.js =================================================================== --- sandbox/geocat.ch/trunk/web/geonetwork/scripts/editor/KeywordSelectionPanel.js 2010-09-24 10:16:17 UTC (rev 6594) +++ sandbox/geocat.ch/trunk/web/geonetwork/scripts/editor/KeywordSelectionPanel.js 2010-09-27 10:04:23 UTC (rev 6595) @@ -21,7 +21,7 @@ pNewSearch: true, pTypeSearch: 1, pThesauri: '', - pMode: 'searchBox' + pMode: 'searchCheckbox' }, reader: new Ext.data.XmlReader({ record: 'keyword', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |