fadeoutsoftware / WASDI

Web Advanced Space Developers Interface
http://www.wasdi.net
GNU General Public License v3.0
13 stars 5 forks source link

Search results: wrong number #756

Open kr1zz opened 2 months ago

kr1zz commented 2 months ago
leonevalentina commented 2 months ago

Looks like a problem in the frontend, but I am not sure.

What I see is that, when we select multiple providers, the client sends to the backend as many "count" requests as the number of selected providers. The number of results for each provider is displayed on top of the collapsible windows, showing the results grouped by data provider. image

But I think there is some issue with showing and hiding the results by data provider. For instance, in the screenshot below, I expanded the "ONDA" tab, but I see the results for CREODIAS image

I will need the help of @bspurgeon08 to understand better what is going on :-)

bspurgeon08 commented 2 months ago

Problem was fully on the frontend - one of the quirks between angular and angular js is the lack of ng-show (element is present in the dom, but hidden) whereas angular has [hidden] but it wasn't great for the purpose here.

I had an issue with the switching if the user went between different # of items per page, but now it's done and will be published next time I re-build the new client :)