tsgrp / HPI

OpenContent Management Suite (OCMS)
http://www.tsgrp.com/products
17 stars 5 forks source link

Folder Notes: Document List for Note not Sorting as Expected #2353

Closed abrown45 closed 3 years ago

abrown45 commented 3 years ago

There is code in folder notes to sort the document list files for a single note alphabetically but its not behaving as expected

abrown45 commented 3 years ago

FOLDER NOTES TABLE - Author and Creator are not displaying properly ; Document list attribute not sorted properly within the note. This commit fixes an issue with Creator/Author properties in the folder notes table. Previously, the label for creator was Author. These labels have been switched back to their OTC configured labels. Additionally, these fields now rely on the HPI Note OTC to determine their filter for display. To keep everything displaying as it currently is, update the filters on desired attributes in the OTC. To update the label in older configs, remove Author and Creator labels from the toss across, save, and reload. The attributes will be displayed appropriately. Additional, the sorting of the document list attribute for each note was suppose to keep them alphabetical. This commit fixes that sort to make them alphabetically listed.

CR: nwoodbine, mwojno, rsaladrigas, skovacinski, gsteimer GH: https://github.com/tsgrp/HPI/issues/2349, https://github.com/tsgrp/HPI/issues/2353