Sort by type

Im trying to create two buttons to filter events by type, i have a field named TypeEvent with four diferents categories in it. my code is working correctly when i run it locally with asp.net core 6 but doesnt work when i run it in deployment in railway.app . In both cases im using postgresSQL. can you help me to understand what could be the issue in deployment mode and try to fix it? Is there any kind of restriction or special configuration to filter in railway.app ?
15 Replies
Percy
Percy14mo ago
Project ID: a19b97b8-4fef-403c-afd7-4ce7f8a5b775
Nando Aracena
Nando AracenaOP14mo ago
a19b97b8-4fef-403c-afd7-4ce7f8a5b775
Brody
Brody14mo ago
unfortunately this is a very vague request, please provide as much information as you can, code samples, error messages, github repo if possible
Nando Aracena
Nando AracenaOP14mo ago
there is no error messages in console. this is my code where im triying to filter
Brody
Brody14mo ago
I'm sorry but there's just not much to go off here
Nando Aracena
Nando AracenaOP14mo ago
the question is if is there any restriccion or config to add filters
Nando Aracena
Nando AracenaOP14mo ago
No description
No description
Adam
Adam14mo ago
This is even less clear. What do you mean by filters?
Nando Aracena
Nando AracenaOP14mo ago
sort
Adam
Adam14mo ago
that doesn't clarify anything sort what?
Nando Aracena
Nando AracenaOP14mo ago
man Im trying to create two buttons to filter events by type, i have a field named TypeEvent with four diferents categories in it. my code is working correctly when i run it locally with asp.net core 6 but doesnt work when i run it in deployment in railway.app . In both cases im using postgresSQL. can you help me to understand what could be the issue in deployment mode and try to fix it? Is there any kind of restriction or special configuration to filter in railway.app ?
Adam
Adam14mo ago
This is a very vague request, please provide as much information as you can, code samples, error messages, github repo if possible This seems like a code issue. If it's working locally, compare the versions of packages and providers on Railway vs what you have locally. you can specify the versions you'd like to use using a railway.toml or nixpacks.toml https://docs.railway.app/deploy/config-as-code https://nixpacks.com/docs/configuration/file
Nando Aracena
Nando AracenaOP14mo ago
GitHub
GitHub - FernandoAracena/TangoKultura
Contribute to FernandoAracena/TangoKultura development by creating an account on GitHub.
BIGHOUSE OG
BIGHOUSE OG14mo ago
Hello, Adam. Can you tell me the best way to check providers on railway vs I have locally? Thanks a lot.
Adam
Adam14mo ago
This depends what you’re running locally. What language/framework are you using? Railway tells you what it’s running by scrolling to the very top of the build logs. The table will tell you what is being installed
Want results from more Discord servers?
Add your server