From: Lebbeous Fogle-Weekley Date: Tue, 5 Jul 2011 18:52:45 +0000 (-0400) Subject: change seed data for browse axis default sorting X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bf6a3a8176b41e2bf093acbd8bd24deb96cfe4a2;p=evergreen%2Fequinox.git 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 --- 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 ),