Parameter database doesn't browse well
- catphish
- Posts: 959
- Joined: Fri Oct 08, 2021 11:02 pm
- Location: Dorset, UK
- Has thanked: 96 times
- Been thanked: 188 times
Parameter database doesn't browse well
I'm not sure if this is my browser (Linux Firefox), but the parameter database is quite broken for me.
1) The pagination doesn't seem to work properly. I only ever see one page.
2) I uploaded a parameter set for Tesla SDU, but when filtering by Tesla SDU, only the default parameter set shows up.
3) Some entries in the list seem to only have a star rating and no other data shown.
Is it just me, or is this broken? In any case, I'm happy to help debug it.
1) The pagination doesn't seem to work properly. I only ever see one page.
2) I uploaded a parameter set for Tesla SDU, but when filtering by Tesla SDU, only the default parameter set shows up.
3) Some entries in the list seem to only have a star rating and no other data shown.
Is it just me, or is this broken? In any case, I'm happy to help debug it.
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 341 times
- Been thanked: 1484 times
- Contact:
Re: Parameter database doesn't browse well
It works for me but I also see the entry with only stars. Weird.
Source code is here: https://github.com/jsphuebner/parameter-database
I can attach an SQL dump later if you want to work on it on your local machine. Right now it is a bit too much javascript for my taste, most content could be server generated with php.
Source code is here: https://github.com/jsphuebner/parameter-database
I can attach an SQL dump later if you want to work on it on your local machine. Right now it is a bit too much javascript for my taste, most content could be server generated with php.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- catphish
- Posts: 959
- Joined: Fri Oct 08, 2021 11:02 pm
- Location: Dorset, UK
- Has thanked: 96 times
- Been thanked: 188 times
Re: Parameter database doesn't browse well
Thanks, if you could post the SQL dump I'll see what I can improvejohu wrote: ↑Sun Jul 31, 2022 6:55 pm It works for me but I also see the entry with only stars. Weird.
Source code is here: https://github.com/jsphuebner/parameter-database
I can attach an SQL dump later if you want to work on it on your local machine. Right now it is a bit too much javascript for my taste, most content could be server generated with php.

- catphish
- Posts: 959
- Joined: Fri Oct 08, 2021 11:02 pm
- Location: Dorset, UK
- Has thanked: 96 times
- Been thanked: 188 times
Re: Parameter database doesn't browse well
At a glance I believe I can see why the pagination doesn't work well, and why some entries are showing with missing data. This is largely caused by the code assuming that each entry has 10 fields, when in fact they have 11. I'll write some fixes but it would be very useful to have the SQL dump.
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 341 times
- Been thanked: 1484 times
- Contact:
Re: Parameter database doesn't browse well
Here you go
- Attachments
-
- paramdb.sql.gz
- (9.2 KiB) Downloaded 219 times
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- catphish
- Posts: 959
- Joined: Fri Oct 08, 2021 11:02 pm
- Location: Dorset, UK
- Has thanked: 96 times
- Been thanked: 188 times
Re: Parameter database doesn't browse well
Thanks, I'll see what I can do. Somebody else reported that they can't successfully browse it and find parameters, so hopefully I can fix it.
Web development was my dayjob until recently. Not usually PHP, but I'm sure I can work it out

- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 341 times
- Been thanked: 1484 times
- Contact:
Re: Parameter database doesn't browse well
I have replaced the parameter set listing with the old server-side script. That is a bit less functional but it works. Please check it out.
https://openinverter.org/parameters/
EDIT: now submission needs a workover. Right now existing parameters are not updated. So if e.g. an enum is extended that won't be reflected in the database. Also I think deleted parameters don't go away.
https://openinverter.org/parameters/
EDIT: now submission needs a workover. Right now existing parameters are not updated. So if e.g. an enum is extended that won't be reflected in the database. Also I think deleted parameters don't go away.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- catphish
- Posts: 959
- Joined: Fri Oct 08, 2021 11:02 pm
- Location: Dorset, UK
- Has thanked: 96 times
- Been thanked: 188 times
Re: Parameter database doesn't browse well
Thanks, at least this version is browsable. Sorry I didn't have time to fix it.johu wrote: ↑Tue Aug 01, 2023 6:53 pm I have replaced the parameter set listing with the old server-side script. That is a bit less functional but it works. Please check it out.
https://openinverter.org/parameters/
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 341 times
- Been thanked: 1484 times
- Contact:
Re: Parameter database doesn't browse well
No worries, didn't take very long
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Bratitude
- Posts: 965
- Joined: Thu Jan 02, 2020 7:35 pm
- Location: Canada
- Has thanked: 154 times
- Been thanked: 334 times
- Contact:
Re: Parameter database doesn't browse well
upload button is gone 
i think it would be great if some of the prams where updated, i wanted to push my leaf prams,
maybe johu you can push yours up? the gt86 ones are a bit dated

i think it would be great if some of the prams where updated, i wanted to push my leaf prams,
maybe johu you can push yours up? the gt86 ones are a bit dated
https://bratindustries.net/ leaf motor couplers, adapter plates, custom drive train components