collectiveaccess / providence

Cataloguing and data/media management application
GNU General Public License v3.0
295 stars 167 forks source link

Inspector headline show only 'viewing' if only one record type #1469

Closed Monica-Wood closed 1 year ago

Monica-Wood commented 1 year ago

I noticed in one if my systems that object records were showing 'viewing .... ' where collections where showing 'editing ...' I tracked it down to this line that would only pick 'editing ...' if there was more than 1 type. Not sure if there is a reason for this to be 1, but changing it to 0 fixed the issue.

collectiveaccess commented 1 year ago

Fixed with somewhat different approach.