https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30633
--- Comment #30 from Michaela Sieber <[email protected]> --- (In reply to Jonathan Druart from comment #29) > (In reply to Martin Renvoize (ashimema) from comment #27) > > 2) Could we perhaps use the following for ordering instead of relying on > > indexes that may well change with future work: > > > > // Find column by name instead of index > > let current_location_col = holdingst_table_settings.columns.findIndex( > > c => c.columnname == 'item_current_location' > > ); > > holdingst_table_settings.default_sort_order = current_location_col; > > Maybe, I don't know. We are storing/manipulating the index in the yaml and > the DB for default_sort_order. > We could try and see if it's possible to remove the index completely and use > the column's names everywhere, but that's for another day :) > Hey Martin and Jonathan, we would very much appreciate it if the column's names would be used. If you want to put this topic on the roadmap for 26.05, I'm happy to take care of testing it. -- 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/
