Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is no implementation of hook_views_default_views_alter() as done with other BW node types. This results in the documents not being counted in the All tab.
Patch follows.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2044827-commons-documents-bw-integration.patch | 749 bytes | BarisW |
Comments
Comment #1
BarisW CreditAttribution: BarisW commentedComment #2
RobKoberg CreditAttribution: RobKoberg commentedOn a fresh install it looks like the Document (and Notice) content type features are not enabled. So perhaps this is by design?
Comment #3
BarisW CreditAttribution: BarisW commentedThat's correct, but once you enable the module, it should pick up the integration with the Browsing Widget and thus add the number of nodes to the tabs.
If you have 3 blogs, 5 polls and 2 documents, the All tab will say 8 items. Which should be 10. This patch fixes that.
Comment #4
Devin Carlson CreditAttribution: Devin Carlson commentedI thought that this might be by design but I agree that it's confusing that "All" displays and counts everything but documents. If documents shouldn't be counted in the All tab then they shouldn't have a tab in the browsing widget or the All tab should be retitled.
Committed #1 to Commons Documents 7.x-3.x.
http://drupalcode.org/project/commons_documents.git/commit/cb02804