pipes-digital / pipes

Repository for Pipes
https://pipes.digital
GNU Affero General Public License v3.0
264 stars 21 forks source link

New sort blocks not working properly #120

Open anewuser opened 2 years ago

anewuser commented 2 years ago

Hello. Can you please check the logic of the Sort block again?

Existing old blocks seem to be working properly, but new blocks are reversed (Newest shows the oldest posts): https://www.pipes.digital/editor/E9DmWRNj

Screenshots
onli commented 2 years ago

Strange bug. Confirmed.

onli commented 2 years ago

I took this as an opportunity to make github run unit tests automatically. They probably would not have catched this, since old blocks still work (so it has to do something with the UI change), but they could have prevented a similar issue. See https://github.com/pipes-digital/pipes/issues/122 - early stage so far. I will add some tests more now, maybe to extends the tests would also be interesting for you?