mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-26 16:30:52 +01:00
Merge branch 'feature/fix-marketplace-search' into 'dev'
Fix SQL query upon searching in Marketplace See merge request morningstar/Arcturus-Community!428
This commit is contained in:
commit
da5fa49766
@ -122,7 +122,7 @@ public class MarketPlace {
|
||||
query += " AND CEIL(price + (price / 100)) <= " + maxPrice;
|
||||
}
|
||||
if (search.length() > 0) {
|
||||
query += " AND bi.public_name LIKE ? OR ci.catalog_name LIKE ?";
|
||||
query += " AND ( bi.public_name LIKE ? OR ci.catalog_name LIKE ? ) ";
|
||||
}
|
||||
|
||||
query += " GROUP BY base_item_id, ltd_data";
|
||||
|
Loading…
Reference in New Issue
Block a user