|
@@ -133,7 +133,7 @@ class _LeRelation(lecrud._LeCrud):
|
133
|
133
|
## @returns The maximum assignable rank for this relation
|
134
|
134
|
# @todo implementation
|
135
|
135
|
def get_max_rank(self):
|
136
|
|
- max_rank_result = self.__class__.get(query_filters=['*'],field_list=['rank'], order=[('rank', 'DESC')], limit=1)
|
|
136
|
+ max_rank_result = self.__class__.get(field_list=['rank'], order=[('rank', 'DESC')], limit=1)
|
137
|
137
|
max_rank = max_rank_result[0].rank
|
138
|
138
|
return max_rank+1
|
139
|
139
|
|