~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/browser/bugtask.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-11-17 17:17:38 UTC
  • mfrom: (14241.3.94 field-visibility-dry)
  • Revision ID: launchpad@pqm.canonical.com-20111117171738-ouyh30ndpee8dq1w
[r=abentley][no-qa] Ensure BugListingConfigUtil gets default values
 for field_visibility from LP.cache.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2269
2269
            'show_tags': False,
2270
2270
            'show_title': True,
2271
2271
        }
 
2272
        self.field_visibility_defaults = self.field_visibility
2272
2273
        TableBatchNavigator.__init__(
2273
2274
            self, tasks, request, columns_to_show=columns_to_show, size=size)
2274
2275
 
2594
2595
            cache.objects['mustache_model'] = batch_navigator.model
2595
2596
            cache.objects['field_visibility'] = (
2596
2597
                batch_navigator.field_visibility)
 
2598
            cache.objects['field_visibility_defaults'] = (
 
2599
                batch_navigator.field_visibility_defaults)
2597
2600
 
2598
2601
            def _getBatchInfo(batch):
2599
2602
                if batch is None: