Commit 01330807 authored by Wim Leers's avatar Wim Leers Committed by Damien McKenna
Browse files

Issue #3190804 by DamienMcKenna, Wim Leers: Allow source counts to be cached:...

Issue #3190804 by DamienMcKenna, Wim Leers: Allow source counts to be cached: implement ::doCount() instead of ::count().
parent 7177e203
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -45,6 +45,8 @@ Metatag 8.x-1.x-dev, xxxx-xx-xx
#3205932 by dalin, DamienMcKenna: Add noindex to "403 access denied" defaults.
#3229004 by larisse, Rar9, DamienMcKenna: Undefined index: hreflang in
  metatag_hreflang_page_attachments_alter().
#3190804 by DamienMcKenna, Wim Leers: Allow source counts to be cached:
  implement ::doCount() instead of ::count().


Metatag 8.x-1.16, 2021-03-15
+7 −0
Original line number Diff line number Diff line
@@ -118,4 +118,11 @@ class NodewordsFieldInstance extends DrupalSqlBase {
    return $this->initializeIterator()->count();
  }

  /**
   * {@inheritdoc}
   */
  protected function doCount() {
    return $this->initializeIterator()->count();
  }

}
+7 −0
Original line number Diff line number Diff line
@@ -141,4 +141,11 @@ class MetatagFieldInstance extends DrupalSqlBase {
    return $this->initializeIterator()->count();
  }

  /**
   * {@inheritdoc}
   */
  protected function doCount() {
    return $this->initializeIterator()->count();
  }

}