openeduhub / metaqs-main

Backend Service providing Information about Completeness of Metadata and Coverage of Topics
3 stars 1 forks source link

Search widgets and tables do not correspond #80

Closed RobertMeissner closed 2 years ago

RobertMeissner commented 2 years ago
RobertMeissner commented 2 years ago

CollectionsTreeStats differs from MaterialsNoXYZ

RobertMeissner commented 2 years ago

CollectionsTreeStats uses endpoints

RobertMeissner commented 2 years ago

MaterialsNoXYZ uses pending-materials endpoint

MRuecklCC commented 2 years ago

Now if I click on the edit button in I get forwarded to the staging environment, but there is nothing displayed there. I.e. the URI that is opened by the MetaWidgetService.openNode method seems to be wrong.

RobertMeissner commented 2 years ago

mMmh, can you please supply an example? Because on my version it works :/

RobertMeissner commented 2 years ago

OER content differed, partially because "total" from Elasticsearch differed from separate sum of doc_count - this is bizarre and I cannot explain it yet. Now, all tables use one and the same way to calculate OER ratios

RobertMeissner commented 2 years ago

The base filters were missing in background elasticsearch query, thus finding more material, then pending-materials did.

Nevertheless, numbers still differ significantly

RobertMeissner commented 2 years ago

Material without description yielded collections, because it was set to point to collections in the frontend, see widget-node-list.component.ts Changed type there.

RobertMeissner commented 2 years ago

Renamed Forms to mode, including in the frontend. All endpoints work again