Closed papousek closed 8 years ago
The problem here is that the given item is not available for the given language.
pgdb=> select * from proso_flashcards_flashcard where item_id = 5483;
id | identifier | item_id | context_id | description | lang | term_id | active
-------+----------------------+---------+------------+-------------+------+---------+--------
9341 | namerica-Yellowstone | 5483 | 125 | Yellowstone | cs | 12251 | t
9506 | namerica-Yellowstone | 5483 | 124 | Yellowstone | en | 12397 | t
11501 | namerica-Yellowstone | 5483 | 218 | Yellowstone | sk | 14090 | t
I will investigate whether there is an error during loading flashcards.
OK. The load_flashcards
command seems to be OK. The geography-flashcards.json
file contains:
{
"categories": [
"namerica",
"river"
],
"id": "Yellowstone",
"name-cs": "Yellowstone",
"name-en": "Yellowstone",
"name-sk": "Yellowstone"
},
I think we already discussed this issue before migration, but I am not sure about the conclusion.
@slaweet @thran: Should the resource /models/to_practice_counts/
return 0 for filter [["context/namerica", "category/river"]]
and language es
(now it returns 22).
Fixed by d60b3023ed3ee649baf1c3cb746570bee6884044
From outlinemaps.org: