search: design and implement way of searching for media recorded at a site even if the device used no longer exists on that site

Issue #99 new
Trek Hopton created an issue

Currently you can't search for media that has been recorded on a site if the device is no longer on that site.

Possible work around: add ability to search media type by site without inputting device, eg. that way any video recorded at site Rig3 will show up, even if the device has been removed from the site since recording.

Comments (1)

  1. Saxon Milton

    If this needs to be available quickly, we could add a “search by” selection field i.e. either “search by device” or “search by pin”.

    If this is not something that we need now, we should work on having filters that can be applied i.e. we would have a device selection field, pin selection field and media ID selection field (or text entry).

    Relevant code would be searchHandler (https://bitbucket.org/ausocean/vidgrind/src/44f9ab9790c07f524cd2a83ac72ca5d68c469688/search.go?at=master#lines-96:240)

    searchMedia (https://bitbucket.org/ausocean/vidgrind/src/44f9ab9790c07f524cd2a83ac72ca5d68c469688/search.go?at=master#lines-244:296)

    and the HTML code for the search parameter fields (https://bitbucket.org/ausocean/vidgrind/src/44f9ab9790c07f524cd2a83ac72ca5d68c469688/t/search.html#lines-148:232)

  2. Log in to comment