You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by eh...@apache.org on 2013/02/22 20:33:19 UTC

svn commit: r1449179 - in /lucene/dev/trunk/solr: CHANGES.txt example/solr/collection1/conf/velocity/VM_global_library.vm

Author: ehatcher
Date: Fri Feb 22 19:33:18 2013
New Revision: 1449179

URL: http://svn.apache.org/r1449179
Log:
SOLR-4352: /browse pagination now supports and preserves sort context

Modified:
    lucene/dev/trunk/solr/CHANGES.txt
    lucene/dev/trunk/solr/example/solr/collection1/conf/velocity/VM_global_library.vm

Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1449179&r1=1449178&r2=1449179&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Fri Feb 22 19:33:18 2013
@@ -152,6 +152,9 @@ Bug Fixes
 * SOLR-4484: ReplicationHandler#loadReplicationProperties still uses Files 
   rather than the Directory to try and read the replication properties files.
   (Mark Miller) 
+  
+* SOLR-4352: /browse pagination now supports and preserves sort context
+  (Eric Spiegelberg, Erik Hatcher)
 
 Optimizations
 ----------------------

Modified: lucene/dev/trunk/solr/example/solr/collection1/conf/velocity/VM_global_library.vm
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/velocity/VM_global_library.vm?rev=1449179&r1=1449178&r2=1449179&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/solr/collection1/conf/velocity/VM_global_library.vm (original)
+++ lucene/dev/trunk/solr/example/solr/collection1/conf/velocity/VM_global_library.vm Fri Feb 22 19:33:18 2013
@@ -26,7 +26,9 @@
 
 #macro(group)#if($request.params.getBool("group") == true)&group=true#end#if($request.params.get("group.field"))#foreach($grp in $request.params.getParams('group.field'))&group.field=$grp#end#end#end
 
-#macro(lensNoQ)?#if($request.params.getParams('fq') and $list.size($request.params.getParams('fq')) > 0)&#fqs($request.params.getParams('fq'))#end#debug#boostPrice#annotate#spatial#qOpts#group#end
+#macro(sort $p)#if($p)#foreach($s in $p)&sort=$esc.url($s)#end#end#end
+
+#macro(lensNoQ)?#if($request.params.getParams('fq') and $list.size($request.params.getParams('fq')) > 0)&#fqs($request.params.getParams('fq'))#end#sort($request.params.getParams('sort'))#debug#boostPrice#annotate#spatial#qOpts#group#end
 #macro(lens)#lensNoQ#q#end