From c38c70d6026cc3a64ecb5518995c0d0c186a1cd9 Mon Sep 17 00:00:00 2001
From: lalka2016 <99399973+lalka2016@users.noreply.github.com>
Date: Thu, 14 Sep 2023 22:16:00 +0300
Subject: [PATCH] fix syorch

---
 Web/static/js/al_wall.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Web/static/js/al_wall.js b/Web/static/js/al_wall.js
index c3218df2..312bb194 100644
--- a/Web/static/js/al_wall.js
+++ b/Web/static/js/al_wall.js
@@ -354,7 +354,7 @@ $(document).on("click", "#videoAttachment", async (e) => {
 
     $(".videosInsert").on("click", "#showMoreVideos", (e) => {
         u(e.currentTarget).remove()
-        insertVideos(Number(e.currentTarget.dataset.page))
+        insertVideos(Number(e.currentTarget.dataset.page), document.querySelector(".topGrayBlock #vquery").value)
     })
 
     $(".topGrayBlock #vquery").on("change", async (e) => {