Page 1 of 1

Doubled up items in Search Results

Posted: 18 May 2024 06:41
by jupe
Since I began using XYplorer I have occasionally noticed items were doubled up in search results, ie. duplicate items, I have never been able to build repro steps, it seemed erratic, but now I have finally managed to, but only in a certain scenario, I have no idea if resolving this will fix those other occurrences, but it's worth a try so I've created a repro script for fresh, which shows the issue 100% of the time, for me at least.

The script will need to be run in a fresh version that has previously been run and therefore already created a tag.dat and Panes subfolder. Of course it should alternatively work in your normal config though too, unless certain config changes have been made.

Code: Select all

  goto <xydata>;
  $itms = "Panes|<xytagdatfile>";
  selectitems $itms;
  goto "+?/flat";
  selectitems $itms;
  #318;
  goto ">>$itms";
  msg "Notice duplicate items?";
It's also possible my script is just flawed and is generating this issue...

Re: Doubled up items in Search Results

Posted: 18 May 2024 07:03
by highend
From what I visually see this only happens if you at least use two search terms (and ofc they are in the same root folder)
If three or more are selected doesn't matter beyond that point.

Re: Doubled up items in Search Results

Posted: 18 May 2024 19:42
by admin
A Branch View over a Search In List. This is a fairly rare situation, but I think I was able to fix it. :cup: