Prechádzať zdrojové kódy

Fix numchild value on root page

When set to 0, the homepage fails to appear in the explorer listing when viewing the root (because Treebeard thinks root is a leaf node and so doesn't bother querying the database for get_children).
Matt Westcott 7 rokov pred
rodič
commit
0afd24a0e5
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      bakerydemo/base/fixtures/bakerydemo.json

+ 1 - 1
bakerydemo/base/fixtures/bakerydemo.json

@@ -1514,7 +1514,7 @@
   "fields": {
     "path": "0001",
     "depth": 1,
-    "numchild": 0,
+    "numchild": 1,
     "title": "Root",
     "draft_title": "Root",
     "slug": "root",