Skip to content

Commit

Permalink
graphQl-535: removed unnecessary configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy Boyko committed May 8, 2019
1 parent 8f36cf2 commit 9f2f5b6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 22 deletions.
7 changes: 0 additions & 7 deletions app/code/Magento/CatalogGraphQl/etc/graphql/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,13 @@
<argument name="extendedConfigData" xsi:type="array">
<item name="product_url_suffix" xsi:type="string">catalog/seo/product_url_suffix</item>
<item name="category_url_suffix" xsi:type="string">catalog/seo/category_url_suffix</item>
<item name="product_use_categories" xsi:type="string">catalog/seo/product_use_categories</item>
<item name="save_rewrites_history" xsi:type="string">catalog/seo/save_rewrites_history</item>
<item name="title_separator" xsi:type="string">catalog/seo/title_separator</item>
<item name="category_canonical_tag" xsi:type="string">catalog/seo/category_canonical_tag</item>
<item name="product_canonical_tag" xsi:type="string">catalog/seo/product_canonical_tag</item>
<item name="list_mode" xsi:type="string">catalog/frontend/list_mode</item>
<item name="grid_per_page_values" xsi:type="string">catalog/frontend/grid_per_page_values</item>
<item name="list_per_page_values" xsi:type="string">catalog/frontend/list_per_page_values</item>
<item name="grid_per_page" xsi:type="string">catalog/frontend/grid_per_page</item>
<item name="list_per_page" xsi:type="string">catalog/frontend/list_per_page</item>
<item name="flat_catalog_category" xsi:type="string">catalog/frontend/flat_catalog_category</item>
<item name="catalog_default_sort_by" xsi:type="string">catalog/frontend/default_sort_by</item>
<item name="parse_url_directives" xsi:type="string">catalog/frontend/parse_url_directives</item>
<item name="remember_pagination" xsi:type="string">catalog/frontend/remember_pagination</item>
</argument>
</arguments>
</type>
Expand Down
7 changes: 0 additions & 7 deletions app/code/Magento/CatalogGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -405,18 +405,11 @@ type SortFields @doc(description: "SortFields contains a default value for sort
type StoreConfig @doc(description: "The type contains information about a store config") {
product_url_suffix : String @doc(description: "Product URL Suffix")
category_url_suffix : String @doc(description: "Category URL Suffix")
product_use_categories : Int @doc(description: "Use Categories Path for Product URLs")
save_rewrites_history : Int @doc(description: "Create Permanent Redirect for URLs if URL Key Changed")
title_separator : String @doc(description: "Page Title Separator")
category_canonical_tag : Int @doc(description: "Use Canonical Link Meta Tag For Categories")
product_canonical_tag : Int @doc(description: "Use Canonical Link Meta Tag For Products")
list_mode : String @doc(description: "List Mode")
grid_per_page_values : String @doc(description: "Products per Page on Grid Allowed Values")
list_per_page_values : String @doc(description: "Products per Page on List Allowed Values")
grid_per_page : Int @doc(description: "Products per Page on Grid Default Value")
list_per_page : Int @doc(description: "Products per Page on List Default Value")
flat_catalog_category : Int @doc(description: "Use Flat Catalog Category")
catalog_default_sort_by : String @doc(description: "Default Sort By")
parse_url_directives : Int @doc(description: "Parse URL directives")
remember_pagination : Int @doc(description: "Remember Pagination")
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,13 @@ public function testGetStoreConfig()
storeConfig{
product_url_suffix,
category_url_suffix,
product_use_categories,
save_rewrites_history,
title_separator,
category_canonical_tag,
product_canonical_tag,
list_mode,
grid_per_page_values,
list_per_page_values,
grid_per_page,
list_per_page,
flat_catalog_category,
catalog_default_sort_by,
parse_url_directives,
remember_pagination
catalog_default_sort_by
}
}
QUERY;
Expand Down

0 comments on commit 9f2f5b6

Please sign in to comment.