ome / omero-figure

An OMERO.web app for creating Figures from images in OMERO
http://figure.openmicroscopy.org
GNU Affero General Public License v3.0
15 stars 31 forks source link

list files user middlename #247

Closed will-moore closed 6 years ago

will-moore commented 7 years ago

Fixes a minor bug where if a user has a middle-name set, they won't see any files listed when they first open the Files > Open dialog in figure. Noticed for user-4 in web-dev-merge.

To test:

pwalczysko commented 7 years ago

works as expected. Ready to merge FMPOV

joshmoore commented 7 years ago

This seemed a bit brittle, but I convinced myself that this matches https://github.com/will-moore/figure/blob/56847e09fa0430804288336b256f51445655351a/omero_figure/views.py#L414 so at the moment (other than comments to keep the 2 in sync) this looks good. (There is the potential for an odd name with spaces to cause some confusion. I'm sure @pwalczysko could craft something sufficiently evil. :smile:)

jburel commented 6 years ago

removed exclude comment

jburel commented 6 years ago

See https://trello.com/c/8rP5sRkv/28-workflow-ii-paper-publication-public-user-on-production-server @pwalczysko indicated that this was an obvious problem while working on the publication workflow