WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org
View all threadsI'd like to reorder the tabs across the top of the main Cataloging screen. Currently they read Acquisition, Cataloging, Condition, Conservation, Exhibition, Group, Intake, Loan In, Loan Out, Media, Lov/Mov/Inv, Object Exit, Valuation. I'd like to change that to go Cataloging, Acquisition, Condition, Exhibition, Media, Lov/Mov/Inv, Valuation, ...
I'm having trouble location exactly which file in the system I need to be working on. Any quick help would be appreciated.
Thanks,
Elayne Glantzberg
Database Administrator
Aquarian Tabernacle Church
Hi Elayne,
I poked around a bit, and I'm afraid this is one of those things that's a
lot harder than you'd want it to be. Here are some pointers on where to
start looking:
Tabs.js defines the tabsList component. It's displaying the
"nonVocabularies" record types:
https://github.com/collectionspace/ui/blob/master/src/main/webapp/defaults/js/Tabs.js#L31
I believe "nonVocabularies" corresponds to a property in the recordTypes
component:
https://github.com/collectionspace/ui/blob/master/src/main/webapp/defaults/js/Utilities.js#L1569
Here's where recordTypes.nonVocabularies gets sorted:
https://github.com/collectionspace/ui/blob/master/src/main/webapp/defaults/js/Utilities.js#L1576
Note that this is an alphabetic sort on the internal record type name, not
the human-readable label. That's why "Media Handling" appears before
"Loc/Mov/Inv" -- it's actually sorting on the internal names "media"
and "movement".
Those are just some places to get started, if you want to go down that
path. I can't recommend anything specific without spending a lot more time.
In the new UI we're developing for version 5.0, this is mostly a non-issue,
since users are able to add just the tabs that they want, in the order that
they want them. In places where record types are listed, such as the search
dropdown and the create new page, they're sorted by default using the
human-readable label. This can be overridden by specifying a numeric sort
order in the UI configuration.
Ray
On Sat, Jul 8, 2017 at 4:48 PM, Elayne Glantzberg <
solinox@solinoxenterprises.com> wrote:
I'd like to reorder the tabs across the top of the main Cataloging
screen. Currently they read Acquisition, Cataloging, Condition,
Conservation, Exhibition, Group, Intake, Loan In, Loan Out, Media,
Lov/Mov/Inv, Object Exit, Valuation. I'd like to change that to go
Cataloging, Acquisition, Condition, Exhibition, Media, Lov/Mov/Inv,
Valuation, ...
I'm having trouble location exactly which file in the system I need to be
working on. Any quick help would be appreciated.
Thanks,
Elayne Glantzberg
Database Administrator
Aquarian Tabernacle Church
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_
lists.collectionspace.org