From bf6a3a8176b41e2bf093acbd8bd24deb96cfe4a2 Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Tue, 5 Jul 2011 14:52:45 -0400 Subject: [PATCH] change seed data for browse axis default sorting 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 --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index 7013f399ed..2086856677 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -8756,9 +8756,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 ), -- 2.11.0