- 05 10月, 2017 40 次提交
-
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
Since it can technically merge any hash with objects that respond to `==`
-
由 Bob Van Landuyt 提交于
Passing a parent_id will limit ancestors upto the specified parent if it is found. Using `ancestors` and `descendants` the `base` relation will not be included
-
由 Kushal Pandya 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
So only methods that are used elsewhere are public.
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
When projects were listed after groups, the projects that would also have been listed on the last page containing groups would be repeated.
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
When filtering we want all to preload all the ancestors upto the specified parent group. - root - subgroup - nested-group - project So when searching 'project', on the 'subgroup' page we want to preload 'nested-group' but not 'subgroup' or 'root'
-
由 Bob Van Landuyt 提交于
And fix some pagination bugs
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
By preloading the count of members, projects and subgroups of a group, we don't need to query them later. We also preload the entire hierarchy for a search result and include the counts so we don't need to query for them again
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
We do the wrapping in an array in represent_hierarchy for children.
-
由 Bob Van Landuyt 提交于
When finding children for a group
-
由 Bob Van Landuyt 提交于
And document what extra queries are still being performed.
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
The children are lazy-loaded when expanding
-
由 Bob Van Landuyt 提交于
The possible cases are: - [Array, Array] - [Array, Hash] - [Array, GroupHierarchy] - [Hash,Hash] - [Hash, GroupHierarchy] - [GroupHierarchy, GroupHierarchy]
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-
由 Bob Van Landuyt 提交于
-