diff --git a/app/Http/Controllers/CountryCompareController.php b/app/Http/Controllers/CountryCompareController.php index 541d449..b84b47b 100644 --- a/app/Http/Controllers/CountryCompareController.php +++ b/app/Http/Controllers/CountryCompareController.php @@ -36,6 +36,7 @@ class CountryCompareController extends Controller $requests = Http::pool(fn (Pool $pool) => [ CountryCode::all()->each(function ($countryCode) use ($pool, $ta_code) { $this->countries[] = $countryCode->country_name; + Log::info('Getting page {url}', [ 'url' => $countryCode->search_url . $ta_code ] ); return $pool->as($countryCode->country_name)->get($countryCode->search_url . $ta_code); }) ]); diff --git a/resources/js/Components/SearchInput.vue b/resources/js/Components/SearchInput.vue new file mode 100644 index 0000000..145fe20 --- /dev/null +++ b/resources/js/Components/SearchInput.vue @@ -0,0 +1,38 @@ + + + + + \ No newline at end of file diff --git a/resources/js/Pages/IkeaRoot.vue b/resources/js/Pages/IkeaRoot.vue index ae84cfd..de28f66 100644 --- a/resources/js/Pages/IkeaRoot.vue +++ b/resources/js/Pages/IkeaRoot.vue @@ -6,6 +6,7 @@ import Multiselect from 'vue-multiselect'; import { GChart } from 'vue-google-charts'; import { FwbDropdown, FwbListGroup, FwbListGroupItem } from 'flowbite-vue'; import EasyTable from "vue3-easy-data-table"; +import SearchInput from '@/Components/SearchInput.vue'; //import autocomplete from '@trevoreyre/autocomplete-vue'; @@ -23,6 +24,7 @@ const ccountry = ref([]); const ccountry_filter = ref([['Country'],]); const ccountry_list = ref(['TEST']); const selected = ref(null); +const article = ref(''); const options = { region: 150, @@ -131,9 +133,7 @@ onMounted(fetch); Zadaj polozku