? ab-followup.patch
? ab.patch
Index: apachesolr_biblio.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr_biblio/apachesolr_biblio.module,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 apachesolr_biblio.module
--- apachesolr_biblio.module	23 Nov 2009 13:27:45 -0000	1.1.2.1
+++ apachesolr_biblio.module	23 Nov 2009 15:58:13 -0000
@@ -72,6 +72,8 @@ function apachesolr_biblio_apachesolr_up
           // by the first value of this field. Citations often have many
           // values for fields and we therefore use the first value as the
           // sort value, building a special field just for this purpose.
+          // Note that we make a ss_ field and that gets turned into a sort
+          // field automatically due to schema.xml processing.
           // TODO: Add a checkbox on the field configuration screen that
           // indicates whether a field should have a sort, or not.
           // TODO: Add sorts to the $query object.
@@ -79,7 +81,7 @@ function apachesolr_biblio_apachesolr_up
           if ($biblio['multiple']) {
             $biblio_sort = $biblio;
             $biblio_sort['multiple'] = FALSE;
-            $sort_index_key = 'sort_ss_' . $biblio['name'];
+            $sort_index_key = 'ss_' . $biblio['name'];
           }
           $first = TRUE;
           foreach($value as $v) {
