BuddhaNexus / buddhanexus-frontend-next

BuddhaNexus Frontend 2.0
buddhanexus-frontend-next.vercel.app
2 stars 1 forks source link

Text view default Score and Length not passed to backend #144

Open ayya-vimala opened 1 month ago

ayya-vimala commented 1 month ago

In the text view mode, with any text selected. In the settings menu it mentions that the Score and Length values are both 30, but what is passed to the backend is 0:

What is fed to the backend is this: file_name='dhp' active_segment='none' score=0 par_length=0 limits=Limits(category_include=[], category_exclude=[], file_include=[], file_exclude=[]) multi_lingual=['skt', 'pli', 'chn', 'tib'] page_number=0

aminahbl commented 1 month ago

This seems to be working as expected now.

ayya-vimala commented 1 month ago

I'm not sure as I cannot check it. The score and length were passed to the backend if you make changes, but the default values if you don't were 0 and they should be 30.