ome / omero-web

Django-based OMERO.web client
https://www.openmicroscopy.org/omero
16 stars 29 forks source link

Add support for ?show=fileset-123 #514

Closed will-moore closed 7 months ago

will-moore commented 8 months ago

Often it's useful to find Images etc by Fileset, e.g. when an import completes with...

...
Other imported objects:
Fileset:6314846

==> Summary
444 files uploaded, 1 fileset created, 1 image imported, 0 errors in 0:13:35.110

This PR adds support for webclient/?show=fileset-6314846. Since we can't select a Fileset in the webclient, we simply pick a Image from that Fileset, similar to support for ?show=roi-123.

knabar commented 7 months ago

@will-moore Works fine for me, but it does seem to pick the last (or a random?) image in the fileset; would it make sense to always select the first image (presumably lowest ID)?

will-moore commented 7 months ago

Thanks @knabar - fixed now to pick the "first" image (lowest ID).