Closed Irisdenis closed 4 months ago
lst_exclude is undefined
in function dct_row_combine()
dct_hiderow()
The JSON of this DCT:
{"pivot_col":11,
"view_mode":"match",
"col_mode":"custom",
"lst_order":[11,7,9,8,6,5],
"lst_exclude":[1,2,4,3,10],
"hidden_rows":[0,1,2,3,4,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,30,31,32,33,34,35,36,38,40,42,43,44,45,48,49,50,52,53,56,58,59,60,62,63,64,65,72,73,74,77,78]}
TODO:
The number of displayed matches between two manuscripts in a research set, differs in relation to which of the two manuscript is the pivot. This should not happen: i.e. in a DCT of manuscripts A, B and C, there should be the same number of matches between A and B regardless of whether A or B is the pivot. (If C is the pivot, only the matches between C and the other manuscripts should be displayed - that's a different situation).
Case in point: https://passim.rich.ru.nl/dct/details/83/ Printscreen 1, with Vat. Lat. 3836 as pivot, only shows one overlapping sermon to Vat. Lat. 3828 (AU s 334 = nr. 88). This is incorrect (there should be more overlapping sermons). If I make Vat. Lat. 3828 the pivot manuscript (printscreen 2), there are 12 overlapping sermons with Vat. Lat. 3836 (which is correct).
The problem is confined to these manuscripts in this research set; I've not yet encountered it elsewhere. It could be difficult to trace for a user, though, so the cause of the bug should be investigated.
Matches only/View all. The problem is partially 'solved' by clicking 'view all' in the rows display (left upper corner), which shows all items in the pivot manuscript, regardless of matches. With Vat. Lat. 3836 as pivot, there are now 12 matches to Vat. Lat. 3828 displayed (which is correct). If I try to readjust the 'rows' to 'matches only', nothing happens; when reloading the page, we're back to the situation in printscreen 1. So, it seems that the matches are correctly recorded, but not displayed in the default, 'matches only' view (whereas they should be; 'matches only' should show all matches to the pivot manuscript).
Is this issue perhaps related to the error, signaled in issue #693 ?
Printscreen 1 (Vat. Lat. 3836 as pivot)
Printscreen 2 (Vat. Lat. 3828 as pivot)