view .svn/pristine/b0/b09c0572e3793383576d19f17f4abdf1d9495a71.svn-base @ 1539:22d57b0e0a77 live

OK, this script works now, but it should be using the API
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 21 May 2015 17:31:06 +0100
parents 038ba2d95de8
children
line wrap: on
line source
scope1:
  id: 1
  body: Top Level
  lft: 1
  rgt: 10
  notable_id: 1
  notable_type: Category
child_1:
  id: 2
  body: Child 1
  parent_id: 1
  lft: 2
  rgt: 3
  notable_id: 1
  notable_type: Category
child_2:
  id: 3
  body: Child 2
  parent_id: 1
  lft: 4
  rgt: 7
  notable_id: 1
  notable_type: Category
child_3:
  id: 4
  body: Child 3
  parent_id: 1
  lft: 8
  rgt: 9
  notable_id: 1
  notable_type: Category
scope2:
  id: 5
  body: Top Level 2
  lft: 1
  rgt: 2
  notable_id: 1
  notable_type: Departments