enh: add site name to assignment view
bug-fix: misuse of service language

- the service language should not be used as default
  when selecting next available partipant: it should be
  one of the typist's who is requesting an assignment
- simplify call signature of get_next_available_participant
- doc fixes
minor style
enh: incorporate cenozo get_*_idlist() functional
bug-fix: catch rare null variant issue

- catch instances where a variant was entered without
  setting a word id
bug-fix: catching null variants

- see previous commit
- try to prevent null variants at the edit phase
bug-fix: uninitialized @rank var

- the @rank var used for counting should be initialized to 0 before use
- add verbosity on pruned record counts
bug-fix: exempt deferred entries from prune

- do not prune test_entry daughter records that have
  an open deferral status
- perf improvement: skip query sections when tables are empty
- style fixes
minor style
improving selection of language

- when the participant language is unknown, the language
  chosen should be based on those available at the site level to the user
  based on region/site/language settings, then as a last resort,
  the service language
- style fixes
bug-fixes

- validate for ranked word empty variants only when selection is not being
  edited
- wrong get_language signature use
bug-fix: trying to stop text inputs from changing

- setting the val of a text input to its attribute value
  could be causing the user to experience inputs appearing to change
  during focus event bubbling
performance improvement

- load test_entry views faster by not using any javascript
  if editable is false
enforce consistent language handling

- deal with situations where the participant has no
  preferred language and/or the user assigned to the particpant
  has multiple language restrictions (ie., transcribe bilingual responses)
perf improvement

- use new cenozo idlist method
bug-fix: relax match criteria

- change the match criteria when comparing entries from
  strict word_id matching to word comparison so that french 'a'
  and english 'a', or 'lion' and 'lion' match
bug-fix: enforce consistent language behavior

- set the ranked words for the transcription according to that
  of the user's language when the user only has one language,
  or the default participant language which can be either the
  participant's preferred language or that of the service's if the
  participant doesnt have a language preference
minor style
bug-fix: further language fixes

- employ the user_id var to determine word language during
  test_entry daughter table word edits: simplifies language
  determination resulting in perf improvement
- alpha_numeric entries do not require the user's language
  restrictions: use the default language of the participant or
  that of the service if the participant has no preferred language
update patch script

- update the patch script query that does test entry comparision
  to allow matching on words and not their ids