HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Articles breaks search function
Running Vanilla 2.1.11 and the Articles application the builtin search breaks. This is what error i'm getting when i use the search function: "PDO Statement failed to prepare|Gdn_Database|Query|The used SELECT statements have a different number of columns" Search is functional as soon as I disable the Articles application. -
Re: Articles breaks search function
Wouldn't it be easier to have two versions of this plug-in since the number of columns to search on is different in Vanilla 2.1 and 2.2? For now, I am toying with the idea of disabling search as a forum tool in favor of offering Articles. In turn (and although it would require an additional log-in) I am thinking, too, of… -
Re: Articles breaks search function
Just fixed this bug. Apparently, SearchModel requires that search base queries, constructed in ArticleSearchModel within the ArticleSql and ArticleCommentSql methods, have the same number of columns for the SELECT statement as the numbers of columns that are selected in Vanilla's discussion and comment search queries. This… -
Re: Articles breaks search function
@zapz, are you using Vanilla 2.1 or 2.2 beta? I guess that the fix I applied works in Vanilla 2.2 beta, but not Vanilla 2.1, due to the SELECT statement having a different number of columns. IIRC, I've tested the fix in Vanilla 2.1 as well, but it's been a while since I've checked. It seems like the UNION of SQL SELECT…
4 results