{"action":"created","issue":{"url":"https://api.github.com/repos/stefangabos/Zebra_Database/issues/50","repository_url":"https://api.github.com/repos/stefangabos/Zebra_Database","labels_url":"https://api.github.com/repos/stefangabos/Zebra_Database/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/stefangabos/Zebra_Database/issues/50/comments","events_url":"https://api.github.com/repos/stefangabos/Zebra_Database/issues/50/events","html_url":"https://github.com/stefangabos/Zebra_Database/issues/50","id":323545258,"number":50,"title":"Unknown column 'Max(Pagina)' in 'field list'","user":{"login":"jatubio","id":11651768,"avatar_url":"https://avatars3.githubusercontent.com/u/11651768?v=4","gravatar_id":"","url":"https://api.github.com/users/jatubio","html_url":"https://github.com/jatubio","followers_url":"https://api.github.com/users/jatubio/followers","following_url":"https://api.github.com/users/jatubio/following{/other_user}","gists_url":"https://api.github.com/users/jatubio/gists{/gist_id}","starred_url":"https://api.github.com/users/jatubio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jatubio/subscriptions","organizations_url":"https://api.github.com/users/jatubio/orgs","repos_url":"https://api.github.com/users/jatubio/repos","events_url":"https://api.github.com/users/jatubio/events{/privacy}","received_events_url":"https://api.github.com/users/jatubio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-16T09:45:13Z","updated_at":"2018-05-16T14:37:45Z","closed_at":null,"author_association":"NONE","body":"Zebra is making this sql sentence:  \r\n\r\n\tSELECT\r\n\t\t`Max(Pagina)` AS Pagina\r\n\t\tFROM\r\n\t\t`contenidos_mod1` ORDER BY  Pagina ASC LIMIT 1\r\n\r\nI think it's because of the method _is_mysql_function() that don't recognize `Max(Pagina)` as function. But I don't know how to fix this.\r\n\r\nPS: Using the last commit on develop branch and working with the previous versions before changes on the `_is_mysql_function()` method"},"comment":{"url":"https://api.github.com/repos/stefangabos/Zebra_Database/issues/comments/389542583","html_url":"https://github.com/stefangabos/Zebra_Database/issues/50#issuecomment-389542583","issue_url":"https://api.github.com/repos/stefangabos/Zebra_Database/issues/50","id":389542583,"user":{"login":"jatubio","id":11651768,"avatar_url":"https://avatars3.githubusercontent.com/u/11651768?v=4","gravatar_id":"","url":"https://api.github.com/users/jatubio","html_url":"https://github.com/jatubio","followers_url":"https://api.github.com/users/jatubio/followers","following_url":"https://api.github.com/users/jatubio/following{/other_user}","gists_url":"https://api.github.com/users/jatubio/gists{/gist_id}","starred_url":"https://api.github.com/users/jatubio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jatubio/subscriptions","organizations_url":"https://api.github.com/users/jatubio/orgs","repos_url":"https://api.github.com/users/jatubio/repos","events_url":"https://api.github.com/users/jatubio/events{/privacy}","received_events_url":"https://api.github.com/users/jatubio/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T14:37:45Z","updated_at":"2018-05-16T14:37:45Z","author_association":"NONE","body":"I'm calling select method with these parameters:\r\n\r\n$columns[0]=Max(Pagina) as Pagina\r\n$order=Pagina ASC\r\n$limit=1\r\n$table=contenidos_mod1\r\n\r\nThis is the resulting sql: `SELECT Max(Pagina) as Pagina FROM `contenidos_mod1` ORDER BY Pagina ASC LIMIT 1` (with the older version of  `_is_mysql_function()`\r\n"}}
{"actor":{"display_login":"jatubio"}}