https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41042
Martin Renvoize (ashimema) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188049|0 |1 is obsolete| | --- Comment #5 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 188160 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188160&action=edit Bug 41042: Make 'default sort order' available to new installations If a row exists in DB for a given table, default_sort_order will be NULL in DB which will replace the flag from the YAML file: the feature won't be available. Test plan: 0. checkout main (we don't want bug 30633) 1. Go to http://localhost:8081/cgi-bin/koha/admin/columns_settings.pl#biblio-detail%7Choldingst => Notice that "Default sort order" is not available for 'holdingst' (it's added by bug 30633) 2. Save 3. Verify what you have in DB: select * from tables_settings where module="opac" and tablename="holdingst"; 4. Apply 30633, restart_all 5. Go to http://localhost:8081/cgi-bin/koha/admin/columns_settings.pl#biblio-detail%7Choldingst => Notice that "Default sort order" is not available for 'holdingst' (not ok) 6. Save 7. Verify what you have in DB: select * from tables_settings where module="opac" and tablename="holdingst"; 8. Apply this patch set 9. Go to http://localhost:8081/cgi-bin/koha/admin/columns_settings.pl#biblio-detail%7Choldingst => Notice that "Default sort order" is available for 'holdingst'! 10. Save, verify what you have in DB. Signed-off-by: Michaela Sieber <[email protected]> Signed-off-by: Martin Renvoize <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
