Fix for giftcard suggestions (#4030)

Switch back to master in docker-compose.yml
This commit is contained in:
jekkos committed 2024-08-28 00:04:56 +02:00
1 parent f49d763254
commit c1dcf4e3c6
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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);
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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