Skip to content
Snippets Groups Projects

Issue #293295 by jwilson3, smustgrave: Increment <ol> numbers on views paged results

Closed Issue #293295 by jwilson3, smustgrave: Increment <ol> numbers on views paged results
1 unresolved thread
Closed Stephen Mustgrave requested to merge issue/drupal-293295:293295-alternative-approach into 11.x
1 unresolved thread

Closes #293295

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
872 872 $variables['list']['attributes'] = new Attribute(['class' => $class]);
873 873 }
874 874
875 $type = $handler->options['type'];
876
877 if ($type === 'ol') {
878 $pager = $variables['view']->getPager();
879 if (empty($variables['list'])) {
  • Adam Bramley
  • Adam Bramley added 1 commit

    added 1 commit

    • 5304d532 - Initialise list attributes early to reduce conditions and duplication

    Compare with previous version

  • closed

  • Please register or sign in to reply
    Loading