Jump to content

MTA Community "bug"?


Recommended Posts

i voted "5" and it's now 4.3 and visible on best 10.

probably somebody set query like that:

SELECT * FROM resources WHERE [b]votes>10[/b] ORDER BY avg DESC LIMIT 10 

but it should be

SELECT * FROM resources WHERE [b]votes>=10[/b] ORDER BY avg DESC LIMIT 10 

community have some more bugs.. probably somebody is still working on it.. (i think)..

ps. the query is generally incorrect, as votes are (should be) saved in separate table, so the real query is much more different. just wanted to point out the "bug"

Link to comment

i can rewrite the community (will take about 2 weeks) - you can give me sources + db dump + files already uploaded (so users and files will stay untouched) and ill take care of it. also you can list all features needed. layout will stay unchanged as im not graphic designer but programmer.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...