geneontology / noctua

Graph-based modeling environment for biology, including prototype editor and services
http://noctua.geneontology.org/
BSD 3-Clause "New" or "Revised" License
36 stars 13 forks source link

Search (in production) is providing different result counts at the same time #833

Open suzialeksander opened 1 year ago

suzialeksander commented 1 year ago

Searched for models made on 2022-08-04. aes testing shows 8 hits, but Noctua prod shows both "4 results" in the search header and "no results yet" in the model display area: Screenshot 2023-06-07 at 17 01 57

Get similar results (header shows a nonzero number but no models display) if I search for this model by title, reference, GP, etc.

Oddly enough, dev shows 0 results for this model (62e3212700000283) so I'm not sure if the model has been deleted or something else? But the results shouldn't show two different numbers.

tmushayahama commented 1 year ago

Hi @suzialeksander thanks for the catch. It is a bug. It happens when your last search was on page more than 1 (in this case page 7 shown by [301 - 350 of 4] (top right corner of the table). So when you did the new search it didn't refresh to page 1 and looked at page 7 for 301th item. However, there is no 301th item as there are only 4 items. Will look into this and fix soon. In the meantime, click the first page button [ I< ]

I did the search and went to page one image

tagging @vanaukenk @ukemi