Switch to unified view

a/scripts/migrations/013-update-ordinals.py b/scripts/migrations/013-update-ordinals.py
...
...
16
    num_projects_examined = 0
16
    num_projects_examined = 0
17
    log.info('Examining all projects for mount order.')
17
    log.info('Examining all projects for mount order.')
18
    for some_projects in utils.chunked_find(M.Project):
18
    for some_projects in utils.chunked_find(M.Project):
19
        for project in some_projects:
19
        for project in some_projects:
20
            c.project = project
20
            c.project = project
21
            mounts = project.ordered_mounts(include_search=True)
21
            mounts = project.ordered_mounts(include_hidden=True)
22
22
23
            # ordered_mounts() means duplicate ordinals (if any) will be next to each other
23
            # ordered_mounts() means duplicate ordinals (if any) will be next to each other
24
            duplicates_found = False
24
            duplicates_found = False
25
            prev_ordinal = None
25
            prev_ordinal = None
26
            for mount in mounts:
26
            for mount in mounts: