Hi,
I'm developing a WIS service based on geonetwork2.6.4 and I wonder why the
value for "maximum selected records" must be greater than 1000. Is there any
reason for this limit? In admin settings, there is well a value to enter for
"Metadata Search Results" / "Maximum Selected Records", but the value is
checked to be greater than 1000...
I would like to be able to set a lower limit in some particular situations.
For example, when "Search data" displays thousands of results on hundreds of
pages, the button "Select / All" would select ALL these metadata. As there
is a "Subscriptions" service, the user may use the "Actions on Selection"
menu in order to make subscriptions to ALL the results, which is not such a
good idea. This is the reason I would like to limit the max number of the
selected results to, let's say, 5, or 10, or 25...
By the way, where can I find the limit value 1000 in the source code and/or
in the settings of geonetwork?
Many thanks,
Victor
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Admin-Settings-Why-The-field-maximum-selected-records-must-be-1000-tp4993843.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
Hi Victor,
2012/8/8 vsinceac <victor.sinceac@anonymised.com>:
Hi,
I'm developing a WIS service based on geonetwork2.6.4 and I wonder why the
value for "maximum selected records" must be greater than 1000. Is there any
reason for this limit? In admin settings, there is well a value to enter for
"Metadata Search Results" / "Maximum Selected Records", but the value is
checked to be greater than 1000...
I would like to be able to set a lower limit in some particular situations.
For example, when "Search data" displays thousands of results on hundreds of
pages, the button "Select / All" would select ALL these metadata. As there
is a "Subscriptions" service, the user may use the "Actions on Selection"
menu in order to make subscriptions to ALL the results, which is not such a
good idea. This is the reason I would like to limit the max number of the
selected results to, let's say, 5, or 10, or 25...
By the way, where can I find the limit value 1000 in the source code and/or
in the settings of geonetwork?
Have a look to scripts/config/view.js
{ id:'selection.maxrecords', type:'integer', minValue:1000,
maxValue:100000, empty:false },
HTH.
Francois
Many thanks,
Victor
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Admin-Settings-Why-The-field-maximum-selected-records-must-be-1000-tp4993843.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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
Oufff, I've searched for hours the value...:))
So I have just to change it...
By the way, is there a reason to "hardcode" such a limit, which depends
rather on the real world different situations? Wouldn't it be better to put
it somewhere in the config files?
Thanks again,
Victor
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Admin-Settings-Why-The-field-maximum-selected-records-must-be-1000-tp4993843p4993850.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
2012/8/8 vsinceac <victor.sinceac@anonymised.com>:
Oufff, I've searched for hours the value...:))
So I have just to change it...
By the way, is there a reason to "hardcode" such a limit, which depends
rather on the real world different situations? Wouldn't it be better to put
it somewhere in the config files?
Do not hesitate to open a ticket, provide a patch and contribute !
Francois
Thanks again,
Victor
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Admin-Settings-Why-The-field-maximum-selected-records-must-be-1000-tp4993843p4993850.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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