Skip to content

Commit

Permalink
EE3 file structure and sql_mode=only_full_group_by fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewilkins committed Sep 28, 2017
1 parent 0e08173 commit fd29b80
Show file tree
Hide file tree
Showing 18 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ It includes autocomplete capabilities and the friendly selection/listing of larg

Installation
-------
* Upload ee2/third_party/vmg_chosen_member to system/user/addons
* Upload themes/third_party/vmg_chosen_member to themes/user
* Upload system/user/addons/vmg_chosen_member to system/user/addons
* Upload themes/user/vmg_chosen_member to themes/user
* Install the fieldtype by going to Add-Ons → Fieldtypes
* Ensure that both the Fieldtype and Module are installed
* See [Importing Old Member Selections](#importing-old-member-selections) below if you are converting from a different field type that contains pipe-delimited member IDs.

Upgrading
-------
* Back up your database
* Upload ee2/third_party/vmg_chosen_member to system/expressionengine/third_party
* Upload themes/third_party/vmg_chosen_member to themes/third_party
* Upload system/user/addons/vmg_chosen_member to system/user/addons
* Upload themes/user/vmg_chosen_member to themes/user
* Go to Add-Ons > Modules and click the "Run Module Updates" button

Importing Old Member Selections
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

if ( ! defined('VMG_CM_VERSION'))
{
define('VMG_CM_VERSION', '3.0.2');
define('VMG_CM_VERSION', '3.0.3');
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ public function getMemberGroups()
{
return ee()->db->select("mg.group_id, mg.group_title")
->from('member_groups AS mg')
->group_by('mg.group_id')
->group_by('mg.group_id, mg.group_title')
->get()
->result_array();
}
Expand Down

0 comments on commit fd29b80

Please sign in to comment.