change seed data for browse axis default sorting
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 5 Jul 2011 18:52:45 +0000 (14:52 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 11 Jul 2011 13:07:19 +0000 (09:07 -0400)
The previous commit message expressed a concern about sort(author) vs
sort(authorsort), but that concern was misguided.  sort(authorsort)
works fine.

This commit makes the default bib result sorter 'titlesort' for every
browse axis, which is what makes sense if you think about it.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql

index 1658a0d..0082b83 100644 (file)
@@ -9478,9 +9478,9 @@ INSERT INTO authority.control_set_authority_field (id, control_set, main_entry,
 
 INSERT INTO authority.browse_axis (code,name,description,sorter) VALUES
     ('title','Title','Title axis','titlesort'),
-    ('author','Author','Author axis','authorsort'),
-    ('subject','Subject','Subject axis',NULL),
-    ('topic','Topic','Topic Subject axis',NULL);
+    ('author','Author','Author axis','titlesort'),
+    ('subject','Subject','Subject axis','titlesort'),
+    ('topic','Topic','Topic Subject axis','titlesort');
 
 INSERT INTO authority.browse_axis_authority_field_map (axis,field) VALUES
     ('author',  1 ),