Skip to content

data displayed "twice" by using include-plugin #168

Open
@virk

Description

@virk

I have adjusted the include-plugin to display structured data content. But one problem remains: Imagine the following situation:

On the page project:2501:2550:2533 there is the following content:

===== 2533 Project MacDonals =====
{{namespace>projects:2501:2550:2533}}

On the page projects:2501:2550:2533:2533_01 there is the following content:

====28.05.2015 ====
  * Heiner went to toilet
  * Heiner forgot to wash his hands

On the page projects:2501:2550:2533:2533_02 there is the following content:

---- dataentry projects ----
number        : 2533
documentnr    : 15224
price         : 8.200
type          : AAB
who           : defg
----

If I now display all AAB by using:

---- datatable ----
cols    : %pageid%,number,price,...
headers : Projekt,,Col,Price [€], ...
filter  : type = AAB
----

the line for number 2533 is shown twice in the datatable:
One line appears and %pageid% "projects:2501:2550:2533" is shown and
one line appears and %pageid% "projects:2501:2550:2533:2533_02" is shown.

From my point of view this behaviour is not quite convenient. I would prefer if the data was only displayed once with the reference page "projects:2501:2550:2533:2533_02", where the data really is written. "Structured data plugin" should not look after data, which only appears due to the fact, that some pages are glued together by the include-plugin.

I would appreciate your comments, fixes, work-arounds if you should find some time!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions