mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
*) fixed display=2 (see http://forum.yacy-websuche.de/viewtopic.php?f=5&t=1536)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5283 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
382226da94
commit
ff46ce8520
|
@ -56,7 +56,7 @@ public class index {
|
|||
|
||||
final boolean global = (post == null) ? true : post.get("resource", "global").equals("global");
|
||||
final boolean authenticated = sb.adminAuthenticated(header) >= 2;
|
||||
final int display = ((post == null) || (!authenticated)) ? 0 : post.getInt("display", 0);
|
||||
final int display = (post == null) ? 0 : post.getInt("display", 0);
|
||||
final int searchoptions = (post == null) ? 0 : post.getInt("searchoptions", 0);
|
||||
final String former = (post == null) ? "" : post.get("former", "");
|
||||
final int count = Math.min(100, (post == null) ? 10 : post.getInt("count", 10));
|
||||
|
|
Loading…
Reference in New Issue
Block a user