Quick fix for deprecated
Proper fix of deprecated_context_item
some documentation
Add the warning again
Store the message plus better names
Fix the original deprecate_context_item function.
Revert "Fix the original deprecate_context_item function."

This reverts commit 3ae477bfa84e62a6bdb5fa4f99e9800c007fb681.

thread unsafe
Fix up as suggested by kindly
[#2816] Re-add some items to model.__init__
[#2750] Fix group controller using wrong schema

Fix group controller calling form_to_db_schema() from IGroupForm plugin
when it should be using db_to_form_schema()
Refactor DefaultGroupForm's form_to_db_schema_options()

The form_to_db_schema() methods of IGroupForm plugins were not being
called if those plugins inherited from DefaultGroupForm. Refactor it in
the same way as DefaultDatasetForm's form_to_db_schema_options() method
was recently refactored.  Make it call self.form_to_db_schema so that
the form_to_db_schema() methods of IGroupForm extensions get called.
Also make it call new form_to_db_schema_api_create() and
form_to_db_schema_api_update() methods which could potentially be
overridden by extensions also.
[#2570] Fix IGroupForm check_data_dict not being called

Make group_create() and group_update() call the check_data_dict()
methods of IGroupForm plugins, like package_create() and
package_update() do with IDatasetForm plugins.
Fix a db_to_form_package_schema() crash

When db_to_form_package_schema() was in use (e.g. when an IDatasetForm
plugin with a db_to_form_schema() method based on
db_to_form_package_schema() was active) then try to edit a package that
has some resources would crash with a 400 Bad Request.

Extremely difficult to debug.

This seems to fix it.
[#2722] fix group dataset sort
[#2722] Add c.sort_by_selected to group read template
Make relevance the default sort order on group pages

If not sort order is specified, group controller passes None to
package_search, same as the package controller does, then package_search
defaults to 'score desc, name asc'
Add group read sort ordering to changelog
Merge branch 'allow-group-read-sort' into release-v1.8
[#2844] actually use simple-search config option
[#2844] Fix error in simple search