Hello everyone :)
I experience something that seems very strange to me. I have several (small) tables and lists that are displayed on a DW page using the structured data plugin. However, when I select the column of a given table to sort the entries accordingly the ouput of other list(s) is affected in a way that I don't quite understand.
On my DW page I need to display 2 different list of items: a list of primary antibodies and a list of secondary antibodies (what primary or secondary antibodies are is irrelevant here). Now these items are stored either in a fridge (4°) or in a freezer (-20°) irrespectively of their nature (primary vs secondary). Therefore, each item is given a "location number" that corresponds to a tube in a drawer in either a fridge or a freezer.
Let me show you what my page looks like for now:
According to the manufacturer recommendations, some antibodies should be stored at 4°c while others should be kept at -20°c. This should obviously be specified in the corresponding column
Each antibody gets a position number corresponding to a tube in the fridge/freezer. The numbering system for antibodies stored at 4°c and those stored at -20°c are independent. Two antibodies should thus have the same number only if one of them is stored in the fridge while the other is stored in the freezer
===== Primary Antibodies =====
---- datatable antibody ----
cols : %pageid%, Host Species_, Target Prot, Target Speciess, Storage Position, Storage Location, Provider, Reference, Remarks_, Obsolete
headers : Edit Link, Host, Target (Prot.), Target (Species), Storage Position, Storage, Provider, Reference, Remarks, Warning
sort : Obsolete
filter : %class%= primary antibody
filter : Storage Position != @@Storage Position@@
dynfilters : 1
----
===== Secondary Antibodies =====
---- datatable antibody ----
cols : %pageid%, Host Species_, Target Speciess, Revelation Agent, Storage Position, Storage Location, Provider, Reference, Remarks_, Obsolete
headers : Edit Link, Host, Target Species, Revelation Agent, Storage Position, Storage, Provider, Reference, Remarks, Warning
sort : Obsolete
filter : %class%=secondary antibody
filter : Storage Position != @@Storage Position@@
dynfilters : 1
----
----
Last **OCCUPIED** space in the **__fridge__** (4°):
---- datalist ----
cols : Storage Position
sort : ^Storage Position
filter : Storage Location=fridge (4°)
max :1
----
Last **OCCUPIED** space in the **__freezer__** (-20°):
---- datalist ----
cols : Storage Position
sort : ^Storage Position
filter : Storage Location=freezer (-20°)
max :1
----
The 2 tables at the top list primary and secondary antibodies, respectively.
The 2 lists at the bottom are supposed to indicate the number of the last occupied tube in the fridge and freezer, respectively. This helps users knowing which is the next available tube when they need to create a new entry.
However, whenever I click a column in one of the table the number reported in the lists also changes. Then it doesn't report the last occupied tube but apparently some random number among the occupied tubes.
I couldn't find any logic in this behavior.
Can anyone help me here?
Thank you very much in advance for your help.
Best,
-a-