File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
examples/cookbook/cookbook Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ class Meta:
1212 model = Category
1313 interfaces = (Node , )
1414 filter_fields = ['name' , 'ingredients' ]
15- filter_order_by = ['name' ]
1615
1716
1817class IngredientNode (DjangoObjectType ):
@@ -27,7 +26,6 @@ class Meta:
2726 'category' : ['exact' ],
2827 'category__name' : ['exact' ],
2928 }
30- filter_order_by = ['name' , 'category__name' ]
3129
3230
3331class Query (AbstractType ):
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class Meta:
99 model = Recipe
1010 interfaces = (Node , )
1111 filter_fields = ['title' ,'amounts' ]
12- filter_order_by = [ 'title' ]
12+
1313
1414class RecipeIngredientNode (DjangoObjectType ):
1515
@@ -22,7 +22,7 @@ class Meta:
2222 'recipe' : ['exact' ],
2323 'recipe__title' : ['icontains' ],
2424 }
25- filter_order_by = [ 'ingredient__name' , 'recipe__title' ,]
25+
2626
2727class Query (AbstractType ):
2828 recipe = Node .Field (RecipeNode )
You can’t perform that action at this time.
0 commit comments