-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dumas: Count of Monte Cristo #456
Comments
@whalekeykeeper can you follow up on this |
Sure. Will have a look today. |
@whalekeykeeper did you follow up on this? |
ok to get to the bottom of the case of the missing count; the sql query responsible for constructing the view data is here. select distinct a.act_id, a.act_object, ps.title from Act a, PrimarySource ps inner join PrimarySource on a.act_object = ps.prim_source_id where ps.title_lang = a.id_lang and a.act_object!='W0414' while two lines below the view in the screenshot above contains the correct data select distinct a.act_id, a.act_object, w.creator, (select distinct ps.title from PrimarySource ps where a.act_object = ps.prim_source_id) as title, (select distinct coalesce(p.family_name, '') || ' ' || coalesce(p.first_name, '') from Person p where w.creator = p.person_id) as name from Act a, Work w inner join Work on a.act_object = w.work_id where a.act_object!='W0414' we need to adjust the first query to return the correct results. Alternatively replace the sql query with an xquery run via basex (that outputs csv) and queries the xml files instead of the csv. |
I just had a look on the database results on the homepage: what happened to the Count of Monte Cristo? I can't find him there, but didn't he have 10 hits or so?? Thanks much!
The text was updated successfully, but these errors were encountered: