Save selected site key and site name

Issue #214 resolved
Alan Noble created an issue

Currently, when the user selects a site, only the site key is saved to their profile (as Profile.Data).

It would be useful if both the site key AND the site name are saved, to avoid unnecessary lookups of the latter (as in https://bitbucket.org/ausocean/vidgrind/issues/206/monitor-display-site-name-on-monitor-page).

It is proposed using a colon-separated format, e.g., SITEKEY:SITE NAME WITH SPACES

This can be made backward-compatible by testing for the presence of the colon.

Comments (2)

  1. Log in to comment