codingdavinci / relaunch2018

This is the new Coding da Vinci website (online since September 2020).
https://codingdavinci.de
GNU General Public License v2.0
1 stars 1 forks source link

language switching on project, dataset, news overview pages 1 #232

Closed lucyWMDE closed 4 years ago

lucyWMDE commented 4 years ago

This problem from issue #230 is still a problem... and it's also true for the news overview

For some weird reason, switching languages on the project and dataset overview pages using the controls at the top right of the screen causes filters to be applied.

Cannot reproduce, might also due to some strange caching. Never experienced similar behaviour. But if it is still there, please create a new issue.

I've tried using a different browser (firefox and chromium) and clearing browsing history/all cache - I still have the problem. The filters applied have changed though. E.g. Now on the dataset overview page when I click a few times to switch between de/en/fr I get the string "http://codingdavinci.snater.com/en/daten?object_type%5B0%5D=172&object_type%5B1%5D=161&event%5B0%5D=331" or "http://codingdavinci.snater.com/fr/daten?object_type%5B0%5D=145&object_type%5B2%5D=211&object_type%5B3%5D=175" - both filters are applied on selecting any of the 3 languages, at random.

Clicking a particular language option more than once sometimes leads to switching between with and without filter. At the same time it also toggles between the active and inactive styles of that language control.

This weirdness is true for the dataset, project and news overview pages (for news it jumps to a particular a page number). Please click around a little with the language controls bit to reproduce before dismissing this.

lucyWMDE commented 4 years ago

phew - very good to have this fixed.