ErwinKomen / RU-wnd

Dutch language dialect dictionaries, Radboud University Nijmegen
0 stars 0 forks source link

WLD: download mine feedback #53

Closed ErwinKomen closed 3 months ago

ErwinKomen commented 3 months ago

Add possibility to extend the download options (with lemma search) to include data per mine

ErwinKomen commented 3 months ago

Implementation

The download facility is part of lemma_list.html, and it is one option of the JS function do_search(this, 'lemma', 'Excel'); What ultimately gets called depends on the submit_type: csv call to export_csv() excel call to export_xlsx() html call to export_html()

  1. Add submit type mijn, which should result in a call to export_mijn()
  2. Extend method get_row() from class Entry with argument dic_mijnen
  3. Calculate dic_mijnen via class Mijn method get_columns()
  4. Add Mijnen download button to: lemma_list.html, dialect_list_html, location_list.html
ErwinKomen commented 3 months ago

Result:

image