mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2025-12-23 17:47:54 -05:00
Fix for giftcard suggestions (#4030)
Switch back to master in docker-compose.yml
This commit is contained in:
@@ -58,7 +58,7 @@ class Giftcards extends Secure_Controller
|
||||
*/
|
||||
public function getSuggest(): void
|
||||
{
|
||||
$search = $this->request->getPost('term');
|
||||
$search = $this->request->getGet('term');
|
||||
$suggestions = $this->giftcard->get_search_suggestions($search, true);
|
||||
|
||||
echo json_encode($suggestions);
|
||||
|
||||
@@ -3,10 +3,10 @@ include:
|
||||
|
||||
services:
|
||||
sqlscript:
|
||||
image: jekkos/opensourcepos:sql-ci4-branch
|
||||
image: jekkos/opensourcepos:sqlscript
|
||||
command: /bin/sh -c 'exit 0'
|
||||
ospos:
|
||||
image: jekkos/opensourcepos:ci4-branch
|
||||
image: jekkos/opensourcepos:master
|
||||
restart: always
|
||||
depends_on:
|
||||
- mysql
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
version: '2'
|
||||
|
||||
volumes:
|
||||
uploads:
|
||||
@@ -20,8 +19,9 @@ services:
|
||||
- "3306"
|
||||
networks:
|
||||
- app_net
|
||||
volumes_from:
|
||||
- sqlscript
|
||||
volumes:
|
||||
- ./app/Database:/docker-entrypoint-initdb.d
|
||||
- mysql:/var/lib/mysql:rw
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=pointofsale
|
||||
|
||||
Reference in New Issue
Block a user