Jump to content

MTA Community "bug"?


Recommended Posts

Posted

Well, see, MTA, I've uploaded THIS resource long time ago. It has 4.2 as rating, and has exactly 10 votes. Why it doesn't is between the first 20 resources? It has better rating than "kwktotaldestruction" (4.1).

Posted

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"

Posted

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.

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...