Lima Dev
내용
[subtitle-meta] lang=en auto=True
Guys, welcome back to my channel. And in
this video, I will show you how you can
implement the search input field is
super useful for this type of um
functionary that we have here. Uh as you
saw in the last class, we implemented
the pagionation.
So now
uh the merchant can search for the
product using the pagation. So you
probably can see the you probably can
see the problem with this. If the the
person has like 1,000 products,
how
you going to find the product that you
want? you need to have a lot of
willpower and finger power, right? So
that's the idea for
the video today.
We will be implementing the search
field. So I already have the
documentation for the search field here
and we need to change something with our
query. Okay, the products query. So
let's go.
Uh the first thing that we need to do as
I said I need I we need to modify the
the product. So what I going to do is
delete
those two
and I will have just the products. So
you probably will ask me you are asking
yourself why but the action will stop.
Yes exactly it will stop. So now yeah
it's broke. So how we how can we fix
that? So basically the idea here is to
change this for
a more
dynamic way. So we can say first int
we can say after and before
uh and we can use uh it's not query yet
the last
is
int
and here instead yes exactly I'm passing
the variables to my query
Okay. For the products. So now I can
search it dynamically.
Okay. Dynamically. Yeah.
So how can we do that? So I going to
save this file and I will back to the
loaded file. And here in the
in the where I'm getting the products
actually here I I can let as
it is right now.
No, I will pass the like this first
then.
Um, okay. Let me open this service. As
you can see here in the last class, I
think it was in the last class, we have
three parents. The admin API,
the GraphQL
query, and the variables.
So these variables
are those.
Okay.
So I'm passing just the first thing.
So now if I come back to my application
10 products. If I pass
five products,
I can see just five products.
So now
let me change for 10 again and fix the
the action. So products,
we don't need the the after
Now we have just
products
and we need to pass the after.
Okay, thank you AI. Yeah, after and
before.
And now our company needs to
work exactly as it was before. So reload
the page.
And now we can
Oh, it's right. Uh because I didn't pass
the first and the last. So I can pass
the after and first 10 and the last 10
products. So, if I'm going forward, I
want the next 10 items or products.
Or if I'm going back,
I wanted the last 10 items. Okay.
What the
last 10?
So, now
it should work. The search field is
simple.
Okay, it's working as it was. And now
let's go with the query.
Uh here in the products, we can just
pass the query now.
Query.
It's a string.
It's not a string. Yeah. Uh it's a
string in here. Query query. Okay. I'm
passing query query
funny query query.
And now that I'm using the query, I can
implement the search. I will just copy
this example and paste
right
above my table. Right
now I can see it's a little ugly, weird.
We can fix that. Change the
the padding.
So now it's better. I will not say
beautiful because it's not. I'm not a
designer either. So
I'm not really good with wine and wax,
you know. So we have now the the search
field, but it doesn't do anything
because we didn't
implement anything
obvious. So now what you can do here is
set new state
called search term and search term.
Yeah, set search term. And here we can
have like a handle search.
It will rearch receive the query
which is a string.
Yeah. Search. And here we can say
fetcher
submit the query. And just like those
these two
but instead after and before I'm passing
the query. Okay.
Uh and here we need to implement the on
change
which is E and now we can get the handle
search
and pass a dot current target current
value. How do I know about this? So
basically you can see here uh it's
already typed.
And you can just look inside the
elements. So we have a lot of options
here. But what what I want is the
current target dot valid.
This is the term that I mean searching
for it. Okay. So we can see it here
just to to show you. Okay.
And now we can go back to the settings
actions and get this search here
query
exactly
and let's see let's see
received query.
So
now let me reload the page,
open the console log for you. And if I
search for a term,
it's broke because
Oh,
I don't have any fing. Yeah, it's right.
It's not anything wrong.
We can say else
con
data
which
yeah now I want the the query
and the 10 uh first items from this
query.
Uh
this is not going to work because I'm
just passing query and is not like this.
If we
go here to the products
the query parent it needs to be I need
to pass something like [snorts] this. I
need to pass another
uh variable variable. I don't know if
it's a a var a variable. So here title
in each best title. So we can say like
this. Um
I can put
title.
Yes, exactly. Uh I just copy its
title.
I can guess query
and to get all results related with the
term that I'm looking for I can put that
symbol here. So now when I search for
something for example the
I can find all products with the
if I type just the C
I can find all products with the C.
Okay.
And here right
at my side you can see in the console
the search
uh why I'm um for example if you're
implementing and for some reason is not
searching automatically when you type
it's because the onch changing the
search field is a little different than
the usual Because the onch change is
just trigger
when um we click outside the input or
when we hit enter. So enter. Oh sorry um
enter
uh space and click and I will click
outside the input.
See?
Okay.
Uh and now
what it can Oh yeah. Uh the other
problem that we have here is because
when we change the page
weird, right? Why do we have selling
plans ski walks?
There is nothing rel. It's not related
with the
the problem is we need to fix our
pagionation now because we have a term
but as you can see here in the table
we are just passing the cursor
and not the query. So
when I click on the arrow, I'm just
passing the cursor and not the current
query.
So
it's just getting the next or the last
10 products
after the cursor from the search that I
did. Okay.
[clears throat] So how can we fix that?
Simple. Now you just just need to pass
the query
in the pagionation.
So now we have the query in the
pagionation.
What you need to do?
We need to come back here and pass the
query.
But we have a a little problem right
here. It's
need to make uh we need to do to make a
condition. So query
will be query
exist
if it exist we need to do
um title.
Oh, it's here. Uh, query or undefined
the same here.
So now it should work. Let's see if not
the problem is with the undefined. But
now the
and the I have all products related with
the.
So basically now we have implemented
um
the search with s with success
uh but I'm not satisfied yet because oh
snowboard let's see it's it's working
snowboard.
Yeah all products related with
snowboard.
It's right. So,
uh I thought the
it's going to for example is just the
last word. I thought that maybe with
this symbol it could
um I wouldn't be able to find the
products that doesn't
the products that don't don't start with
snowboard.
Uh, okay. It's working. So, that was the
video for today and I hope you enjoy.
Let a like a comment below and share the
video and subscribe in the channel
please. I'm doing this series of videos
teaching how you can develop in Shopify
app and I I'm receiving a lot of
comments saying that I need to keep
going. So, I'm really happy with that.
So that's all for today.
원문 자막 펼치기
WEBVTT Kind: captions Language: en 00:00:00.080 --> 00:00:03.270 align:start position:0% Guys,<00:00:00.480><c> welcome</c><00:00:00.880><c> back</c><00:00:01.120><c> to</c><00:00:01.360><c> my</c><00:00:01.600><c> channel.</c><00:00:02.480><c> And</c><00:00:02.960><c> in</c> 00:00:03.270 --> 00:00:03.280 align:start position:0% Guys, welcome back to my channel. And in 00:00:03.280 --> 00:00:06.470 align:start position:0% Guys, welcome back to my channel. And in this<00:00:04.080><c> video,</c><00:00:04.720><c> I</c><00:00:04.960><c> will</c><00:00:05.200><c> show</c><00:00:05.279><c> you</c><00:00:05.520><c> how</c><00:00:05.680><c> you</c><00:00:06.000><c> can</c> 00:00:06.470 --> 00:00:06.480 align:start position:0% this video, I will show you how you can 00:00:06.480 --> 00:00:10.950 align:start position:0% this video, I will show you how you can implement<00:00:06.960><c> the</c><00:00:07.520><c> search</c><00:00:08.400><c> input</c><00:00:08.960><c> field</c><00:00:10.320><c> is</c> 00:00:10.950 --> 00:00:10.960 align:start position:0% implement the search input field is 00:00:10.960 --> 00:00:14.870 align:start position:0% implement the search input field is super<00:00:11.440><c> useful</c><00:00:12.080><c> for</c><00:00:12.719><c> this</c><00:00:13.120><c> type</c><00:00:13.440><c> of</c><00:00:14.559><c> um</c> 00:00:14.870 --> 00:00:14.880 align:start position:0% super useful for this type of um 00:00:14.880 --> 00:00:18.790 align:start position:0% super useful for this type of um functionary<00:00:16.080><c> that</c><00:00:16.320><c> we</c><00:00:16.560><c> have</c><00:00:16.720><c> here.</c><00:00:17.760><c> Uh</c><00:00:18.240><c> as</c><00:00:18.560><c> you</c> 00:00:18.790 --> 00:00:18.800 align:start position:0% functionary that we have here. Uh as you 00:00:18.800 --> 00:00:22.790 align:start position:0% functionary that we have here. Uh as you saw<00:00:19.039><c> in</c><00:00:19.279><c> the</c><00:00:19.439><c> last</c><00:00:19.760><c> class,</c><00:00:20.960><c> we</c><00:00:21.680><c> implemented</c> 00:00:22.790 --> 00:00:22.800 align:start position:0% saw in the last class, we implemented 00:00:22.800 --> 00:00:25.189 align:start position:0% saw in the last class, we implemented the<00:00:23.439><c> pagionation.</c> 00:00:25.189 --> 00:00:25.199 align:start position:0% the pagionation. 00:00:25.199 --> 00:00:27.509 align:start position:0% the pagionation. So<00:00:25.840><c> now</c> 00:00:27.509 --> 00:00:27.519 align:start position:0% So now 00:00:27.519 --> 00:00:29.990 align:start position:0% So now uh<00:00:27.680><c> the</c><00:00:27.920><c> merchant</c><00:00:28.560><c> can</c><00:00:29.119><c> search</c><00:00:29.439><c> for</c><00:00:29.679><c> the</c> 00:00:29.990 --> 00:00:30.000 align:start position:0% uh the merchant can search for the 00:00:30.000 --> 00:00:33.590 align:start position:0% uh the merchant can search for the product<00:00:31.279><c> using</c><00:00:31.679><c> the</c><00:00:31.840><c> pagation.</c><00:00:33.120><c> So</c><00:00:33.280><c> you</c> 00:00:33.590 --> 00:00:33.600 align:start position:0% product using the pagation. So you 00:00:33.600 --> 00:00:37.270 align:start position:0% product using the pagation. So you probably<00:00:34.320><c> can</c><00:00:34.719><c> see</c><00:00:35.040><c> the</c><00:00:36.160><c> you</c><00:00:36.480><c> probably</c><00:00:37.040><c> can</c> 00:00:37.270 --> 00:00:37.280 align:start position:0% probably can see the you probably can 00:00:37.280 --> 00:00:40.630 align:start position:0% probably can see the you probably can see<00:00:37.440><c> the</c><00:00:37.680><c> problem</c><00:00:38.320><c> with</c><00:00:38.719><c> this.</c><00:00:39.680><c> If</c><00:00:39.920><c> the</c><00:00:40.239><c> the</c> 00:00:40.630 --> 00:00:40.640 align:start position:0% see the problem with this. If the the 00:00:40.640 --> 00:00:45.750 align:start position:0% see the problem with this. If the the person<00:00:41.120><c> has</c><00:00:41.440><c> like</c><00:00:42.320><c> 1,000</c><00:00:43.600><c> products,</c> 00:00:45.750 --> 00:00:45.760 align:start position:0% person has like 1,000 products, 00:00:45.760 --> 00:00:47.270 align:start position:0% person has like 1,000 products, how 00:00:47.270 --> 00:00:47.280 align:start position:0% how 00:00:47.280 --> 00:00:49.029 align:start position:0% how you<00:00:47.520><c> going</c><00:00:47.760><c> to</c><00:00:47.920><c> find</c><00:00:48.160><c> the</c><00:00:48.399><c> product</c><00:00:48.640><c> that</c><00:00:48.879><c> you</c> 00:00:49.029 --> 00:00:49.039 align:start position:0% you going to find the product that you 00:00:49.039 --> 00:00:53.350 align:start position:0% you going to find the product that you want?<00:00:50.079><c> you</c><00:00:50.399><c> need</c><00:00:50.879><c> to</c><00:00:51.200><c> have</c><00:00:51.920><c> a</c><00:00:52.239><c> lot</c><00:00:52.399><c> of</c> 00:00:53.350 --> 00:00:53.360 align:start position:0% want? you need to have a lot of 00:00:53.360 --> 00:00:59.110 align:start position:0% want? you need to have a lot of willpower<00:00:54.559><c> and</c><00:00:55.600><c> finger</c><00:00:56.320><c> power,</c><00:00:57.039><c> right?</c><00:00:58.399><c> So</c> 00:00:59.110 --> 00:00:59.120 align:start position:0% willpower and finger power, right? So 00:00:59.120 --> 00:01:01.590 align:start position:0% willpower and finger power, right? So that's<00:00:59.440><c> the</c><00:00:59.680><c> idea</c><00:01:00.079><c> for</c> 00:01:01.590 --> 00:01:01.600 align:start position:0% that's the idea for 00:01:01.600 --> 00:01:03.670 align:start position:0% that's the idea for the<00:01:01.840><c> video</c><00:01:02.160><c> today.</c> 00:01:03.670 --> 00:01:03.680 align:start position:0% the video today. 00:01:03.680 --> 00:01:06.390 align:start position:0% the video today. We<00:01:04.080><c> will</c><00:01:04.320><c> be</c><00:01:04.559><c> implementing</c><00:01:05.360><c> the</c><00:01:06.080><c> search</c> 00:01:06.390 --> 00:01:06.400 align:start position:0% We will be implementing the search 00:01:06.400 --> 00:01:09.030 align:start position:0% We will be implementing the search field.<00:01:06.880><c> So</c><00:01:07.119><c> I</c><00:01:07.360><c> already</c><00:01:07.680><c> have</c><00:01:07.840><c> the</c> 00:01:09.030 --> 00:01:09.040 align:start position:0% field. So I already have the 00:01:09.040 --> 00:01:12.710 align:start position:0% field. So I already have the documentation<00:01:09.840><c> for</c><00:01:10.080><c> the</c><00:01:10.479><c> search</c><00:01:10.880><c> field</c><00:01:11.280><c> here</c> 00:01:12.710 --> 00:01:12.720 align:start position:0% documentation for the search field here 00:01:12.720 --> 00:01:19.030 align:start position:0% documentation for the search field here and<00:01:13.680><c> we</c><00:01:14.080><c> need</c><00:01:14.400><c> to</c><00:01:15.439><c> change</c><00:01:16.400><c> something</c><00:01:17.600><c> with</c><00:01:18.240><c> our</c> 00:01:19.030 --> 00:01:19.040 align:start position:0% and we need to change something with our 00:01:19.040 --> 00:01:23.510 align:start position:0% and we need to change something with our query.<00:01:19.759><c> Okay,</c><00:01:20.240><c> the</c><00:01:20.560><c> products</c><00:01:20.960><c> query.</c><00:01:22.240><c> So</c> 00:01:23.510 --> 00:01:23.520 align:start position:0% query. Okay, the products query. So 00:01:23.520 --> 00:01:25.429 align:start position:0% query. Okay, the products query. So let's<00:01:23.920><c> go.</c> 00:01:25.429 --> 00:01:25.439 align:start position:0% let's go. 00:01:25.439 --> 00:01:29.910 align:start position:0% let's go. Uh<00:01:26.400><c> the</c><00:01:26.640><c> first</c><00:01:27.439><c> thing</c><00:01:28.240><c> that</c><00:01:28.479><c> we</c><00:01:28.720><c> need</c><00:01:28.799><c> to</c><00:01:29.040><c> do</c><00:01:29.680><c> as</c> 00:01:29.910 --> 00:01:29.920 align:start position:0% Uh the first thing that we need to do as 00:01:29.920 --> 00:01:33.190 align:start position:0% Uh the first thing that we need to do as I<00:01:30.159><c> said</c><00:01:30.640><c> I</c><00:01:30.880><c> need</c><00:01:31.280><c> I</c><00:01:31.600><c> we</c><00:01:31.840><c> need</c><00:01:32.000><c> to</c><00:01:32.159><c> modify</c><00:01:32.799><c> the</c> 00:01:33.190 --> 00:01:33.200 align:start position:0% I said I need I we need to modify the 00:01:33.200 --> 00:01:37.830 align:start position:0% I said I need I we need to modify the the<00:01:33.680><c> product.</c><00:01:34.799><c> So</c><00:01:35.280><c> what</c><00:01:35.520><c> I</c><00:01:35.759><c> going</c><00:01:35.920><c> to</c><00:01:36.079><c> do</c><00:01:36.640><c> is</c> 00:01:37.830 --> 00:01:37.840 align:start position:0% the product. So what I going to do is 00:01:37.840 --> 00:01:39.830 align:start position:0% the product. So what I going to do is delete 00:01:39.830 --> 00:01:39.840 align:start position:0% delete 00:01:39.840 --> 00:01:43.830 align:start position:0% delete those<00:01:40.240><c> two</c> 00:01:43.830 --> 00:01:43.840 align:start position:0% 00:01:43.840 --> 00:01:46.230 align:start position:0% and<00:01:44.240><c> I</c><00:01:44.479><c> will</c><00:01:44.640><c> have</c><00:01:44.799><c> just</c><00:01:45.040><c> the</c><00:01:45.280><c> products.</c><00:01:45.759><c> So</c> 00:01:46.230 --> 00:01:46.240 align:start position:0% and I will have just the products. So 00:01:46.240 --> 00:01:50.149 align:start position:0% and I will have just the products. So you<00:01:46.560><c> probably</c><00:01:46.960><c> will</c><00:01:47.200><c> ask</c><00:01:47.520><c> me</c><00:01:48.479><c> you</c><00:01:48.720><c> are</c><00:01:49.680><c> asking</c> 00:01:50.149 --> 00:01:50.159 align:start position:0% you probably will ask me you are asking 00:01:50.159 --> 00:01:54.230 align:start position:0% you probably will ask me you are asking yourself<00:01:50.880><c> why</c><00:01:51.439><c> but</c><00:01:52.560><c> the</c><00:01:52.799><c> action</c><00:01:53.280><c> will</c><00:01:53.600><c> stop.</c> 00:01:54.230 --> 00:01:54.240 align:start position:0% yourself why but the action will stop. 00:01:54.240 --> 00:01:58.870 align:start position:0% yourself why but the action will stop. Yes<00:01:54.640><c> exactly</c><00:01:55.200><c> it</c><00:01:55.520><c> will</c><00:01:55.920><c> stop.</c><00:01:56.720><c> So</c><00:01:57.040><c> now</c><00:01:58.399><c> yeah</c> 00:01:58.870 --> 00:01:58.880 align:start position:0% Yes exactly it will stop. So now yeah 00:01:58.880 --> 00:02:05.270 align:start position:0% Yes exactly it will stop. So now yeah it's<00:01:59.280><c> broke.</c><00:02:00.479><c> So</c><00:02:01.840><c> how</c><00:02:03.040><c> we</c><00:02:03.759><c> how</c><00:02:04.320><c> can</c><00:02:04.560><c> we</c><00:02:04.880><c> fix</c> 00:02:05.270 --> 00:02:05.280 align:start position:0% it's broke. So how we how can we fix 00:02:05.280 --> 00:02:09.350 align:start position:0% it's broke. So how we how can we fix that?<00:02:06.640><c> So</c><00:02:07.360><c> basically</c><00:02:07.759><c> the</c><00:02:08.080><c> idea</c><00:02:08.399><c> here</c><00:02:08.720><c> is</c><00:02:09.039><c> to</c> 00:02:09.350 --> 00:02:09.360 align:start position:0% that? So basically the idea here is to 00:02:09.360 --> 00:02:11.910 align:start position:0% that? So basically the idea here is to change<00:02:09.840><c> this</c><00:02:10.239><c> for</c> 00:02:11.910 --> 00:02:11.920 align:start position:0% change this for 00:02:11.920 --> 00:02:13.670 align:start position:0% change this for a<00:02:12.160><c> more</c> 00:02:13.670 --> 00:02:13.680 align:start position:0% a more 00:02:13.680 --> 00:02:19.190 align:start position:0% a more dynamic<00:02:14.239><c> way.</c><00:02:14.800><c> So</c><00:02:15.200><c> we</c><00:02:15.440><c> can</c><00:02:15.680><c> say</c><00:02:16.239><c> first</c><00:02:17.680><c> int</c> 00:02:19.190 --> 00:02:19.200 align:start position:0% dynamic way. So we can say first int 00:02:19.200 --> 00:02:24.390 align:start position:0% dynamic way. So we can say first int we<00:02:19.440><c> can</c><00:02:19.680><c> say</c><00:02:20.959><c> after</c><00:02:21.360><c> and</c><00:02:21.599><c> before</c> 00:02:24.390 --> 00:02:24.400 align:start position:0% we can say after and before 00:02:24.400 --> 00:02:30.869 align:start position:0% we can say after and before uh<00:02:25.440><c> and</c><00:02:25.760><c> we</c><00:02:26.080><c> can</c><00:02:27.120><c> use</c><00:02:28.160><c> uh</c><00:02:29.040><c> it's</c><00:02:29.280><c> not</c><00:02:29.840><c> query</c><00:02:30.239><c> yet</c> 00:02:30.869 --> 00:02:30.879 align:start position:0% uh and we can use uh it's not query yet 00:02:30.879 --> 00:02:33.190 align:start position:0% uh and we can use uh it's not query yet the<00:02:31.040><c> last</c> 00:02:33.190 --> 00:02:33.200 align:start position:0% the last 00:02:33.200 --> 00:02:34.710 align:start position:0% the last is 00:02:34.710 --> 00:02:34.720 align:start position:0% is 00:02:34.720 --> 00:02:36.309 align:start position:0% is int 00:02:36.309 --> 00:02:36.319 align:start position:0% int 00:02:36.319 --> 00:02:41.030 align:start position:0% int and<00:02:36.720><c> here</c><00:02:37.200><c> instead</c><00:02:37.920><c> yes</c><00:02:38.560><c> exactly</c><00:02:39.519><c> I'm</c><00:02:40.239><c> passing</c> 00:02:41.030 --> 00:02:41.040 align:start position:0% and here instead yes exactly I'm passing 00:02:41.040 --> 00:02:44.790 align:start position:0% and here instead yes exactly I'm passing the<00:02:41.360><c> variables</c><00:02:42.720><c> to</c><00:02:43.040><c> my</c><00:02:43.920><c> query</c> 00:02:44.790 --> 00:02:44.800 align:start position:0% the variables to my query 00:02:44.800 --> 00:02:49.670 align:start position:0% the variables to my query Okay.<00:02:45.519><c> For</c><00:02:45.920><c> the</c><00:02:46.239><c> products.</c><00:02:47.519><c> So</c><00:02:47.760><c> now</c><00:02:48.800><c> I</c><00:02:49.120><c> can</c> 00:02:49.670 --> 00:02:49.680 align:start position:0% Okay. For the products. So now I can 00:02:49.680 --> 00:02:52.550 align:start position:0% Okay. For the products. So now I can search<00:02:50.080><c> it</c><00:02:51.040><c> dynamically.</c> 00:02:52.550 --> 00:02:52.560 align:start position:0% search it dynamically. 00:02:52.560 --> 00:02:56.150 align:start position:0% search it dynamically. Okay.<00:02:53.200><c> Dynamically.</c><00:02:54.160><c> Yeah.</c> 00:02:56.150 --> 00:02:56.160 align:start position:0% Okay. Dynamically. Yeah. 00:02:56.160 --> 00:03:00.550 align:start position:0% Okay. Dynamically. Yeah. So<00:02:56.400><c> how</c><00:02:56.720><c> can</c><00:02:56.959><c> we</c><00:02:57.360><c> do</c><00:02:57.599><c> that?</c><00:02:58.879><c> So</c><00:02:59.920><c> I</c><00:03:00.160><c> going</c><00:03:00.319><c> to</c> 00:03:00.550 --> 00:03:00.560 align:start position:0% So how can we do that? So I going to 00:03:00.560 --> 00:03:04.149 align:start position:0% So how can we do that? So I going to save<00:03:00.879><c> this</c><00:03:01.200><c> file</c><00:03:02.159><c> and</c><00:03:02.800><c> I</c><00:03:03.040><c> will</c><00:03:03.280><c> back</c><00:03:03.519><c> to</c><00:03:03.760><c> the</c> 00:03:04.149 --> 00:03:04.159 align:start position:0% save this file and I will back to the 00:03:04.159 --> 00:03:10.710 align:start position:0% save this file and I will back to the loaded<00:03:04.640><c> file.</c><00:03:06.000><c> And</c><00:03:06.480><c> here</c><00:03:07.200><c> in</c><00:03:07.599><c> the</c> 00:03:10.710 --> 00:03:10.720 align:start position:0% 00:03:10.720 --> 00:03:15.270 align:start position:0% in<00:03:10.800><c> the</c><00:03:11.200><c> where</c><00:03:11.519><c> I'm</c><00:03:11.760><c> getting</c><00:03:12.000><c> the</c><00:03:12.319><c> products</c> 00:03:15.270 --> 00:03:15.280 align:start position:0% in the where I'm getting the products 00:03:15.280 --> 00:03:20.630 align:start position:0% in the where I'm getting the products actually<00:03:15.760><c> here</c><00:03:16.159><c> I</c><00:03:17.280><c> I</c><00:03:17.680><c> can</c><00:03:18.000><c> let</c><00:03:18.480><c> as</c> 00:03:20.630 --> 00:03:20.640 align:start position:0% actually here I I can let as 00:03:20.640 --> 00:03:25.030 align:start position:0% actually here I I can let as it<00:03:20.959><c> is</c><00:03:21.280><c> right</c><00:03:21.519><c> now.</c> 00:03:25.030 --> 00:03:25.040 align:start position:0% 00:03:25.040 --> 00:03:30.789 align:start position:0% No,<00:03:25.440><c> I</c><00:03:25.680><c> will</c><00:03:25.920><c> pass</c><00:03:26.239><c> the</c><00:03:27.440><c> like</c><00:03:27.840><c> this</c><00:03:28.480><c> first</c> 00:03:30.789 --> 00:03:30.799 align:start position:0% No, I will pass the like this first 00:03:30.799 --> 00:03:32.309 align:start position:0% No, I will pass the like this first then. 00:03:32.309 --> 00:03:32.319 align:start position:0% then. 00:03:32.319 --> 00:03:37.670 align:start position:0% then. Um,<00:03:33.519><c> okay.</c><00:03:34.959><c> Let</c><00:03:35.200><c> me</c><00:03:35.440><c> open</c><00:03:35.760><c> this</c><00:03:36.239><c> service.</c><00:03:37.440><c> As</c> 00:03:37.670 --> 00:03:37.680 align:start position:0% Um, okay. Let me open this service. As 00:03:37.680 --> 00:03:40.949 align:start position:0% Um, okay. Let me open this service. As you<00:03:38.080><c> can</c><00:03:38.400><c> see</c><00:03:38.799><c> here</c><00:03:39.440><c> in</c><00:03:39.680><c> the</c><00:03:39.840><c> last</c><00:03:40.159><c> class,</c><00:03:40.720><c> I</c> 00:03:40.949 --> 00:03:40.959 align:start position:0% you can see here in the last class, I 00:03:40.959 --> 00:03:45.190 align:start position:0% you can see here in the last class, I think<00:03:41.120><c> it</c><00:03:41.440><c> was</c><00:03:42.560><c> in</c><00:03:42.720><c> the</c><00:03:42.879><c> last</c><00:03:43.120><c> class,</c><00:03:44.400><c> we</c><00:03:44.799><c> have</c> 00:03:45.190 --> 00:03:45.200 align:start position:0% think it was in the last class, we have 00:03:45.200 --> 00:03:49.270 align:start position:0% think it was in the last class, we have three<00:03:45.760><c> parents.</c><00:03:46.959><c> The</c><00:03:47.360><c> admin</c><00:03:47.760><c> API,</c> 00:03:49.270 --> 00:03:49.280 align:start position:0% three parents. The admin API, 00:03:49.280 --> 00:03:51.190 align:start position:0% three parents. The admin API, the<00:03:49.519><c> GraphQL</c> 00:03:51.190 --> 00:03:51.200 align:start position:0% the GraphQL 00:03:51.200 --> 00:03:53.910 align:start position:0% the GraphQL query,<00:03:51.920><c> and</c><00:03:52.159><c> the</c><00:03:52.319><c> variables.</c> 00:03:53.910 --> 00:03:53.920 align:start position:0% query, and the variables. 00:03:53.920 --> 00:03:56.949 align:start position:0% query, and the variables. So<00:03:54.799><c> these</c><00:03:55.200><c> variables</c> 00:03:56.949 --> 00:03:56.959 align:start position:0% So these variables 00:03:56.959 --> 00:04:01.350 align:start position:0% So these variables are<00:03:57.920><c> those.</c> 00:04:01.350 --> 00:04:01.360 align:start position:0% 00:04:01.360 --> 00:04:03.589 align:start position:0% Okay. 00:04:03.589 --> 00:04:03.599 align:start position:0% Okay. 00:04:03.599 --> 00:04:07.350 align:start position:0% Okay. So<00:04:04.000><c> I'm</c><00:04:04.319><c> passing</c><00:04:04.720><c> just</c><00:04:05.040><c> the</c><00:04:05.360><c> first</c><00:04:05.760><c> thing.</c> 00:04:07.350 --> 00:04:07.360 align:start position:0% So I'm passing just the first thing. 00:04:07.360 --> 00:04:12.309 align:start position:0% So I'm passing just the first thing. So<00:04:07.840><c> now</c><00:04:08.480><c> if</c><00:04:08.799><c> I</c><00:04:08.959><c> come</c><00:04:09.200><c> back</c><00:04:09.439><c> to</c><00:04:09.680><c> my</c><00:04:10.640><c> application</c> 00:04:12.309 --> 00:04:12.319 align:start position:0% So now if I come back to my application 00:04:12.319 --> 00:04:15.190 align:start position:0% So now if I come back to my application 10<00:04:12.640><c> products.</c><00:04:13.280><c> If</c><00:04:13.519><c> I</c><00:04:13.680><c> pass</c> 00:04:15.190 --> 00:04:15.200 align:start position:0% 10 products. If I pass 00:04:15.200 --> 00:04:22.550 align:start position:0% 10 products. If I pass five<00:04:15.760><c> products,</c> 00:04:22.550 --> 00:04:22.560 align:start position:0% 00:04:22.560 --> 00:04:26.310 align:start position:0% I<00:04:22.880><c> can</c><00:04:23.280><c> see</c><00:04:23.600><c> just</c><00:04:24.000><c> five</c><00:04:24.479><c> products.</c> 00:04:26.310 --> 00:04:26.320 align:start position:0% I can see just five products. 00:04:26.320 --> 00:04:28.469 align:start position:0% I can see just five products. So<00:04:26.800><c> now</c> 00:04:28.469 --> 00:04:28.479 align:start position:0% So now 00:04:28.479 --> 00:04:35.430 align:start position:0% So now let<00:04:28.720><c> me</c><00:04:28.880><c> change</c><00:04:29.199><c> for</c><00:04:29.600><c> 10</c><00:04:30.000><c> again</c><00:04:31.280><c> and</c><00:04:31.680><c> fix</c><00:04:32.080><c> the</c> 00:04:35.430 --> 00:04:35.440 align:start position:0% 00:04:35.440 --> 00:04:38.950 align:start position:0% the<00:04:35.840><c> action.</c><00:04:36.880><c> So</c><00:04:37.280><c> products,</c> 00:04:38.950 --> 00:04:38.960 align:start position:0% the action. So products, 00:04:38.960 --> 00:04:43.670 align:start position:0% the action. So products, we<00:04:39.199><c> don't</c><00:04:39.360><c> need</c><00:04:39.600><c> the</c><00:04:39.919><c> the</c><00:04:40.560><c> after</c> 00:04:43.670 --> 00:04:43.680 align:start position:0% 00:04:43.680 --> 00:04:47.749 align:start position:0% Now<00:04:44.000><c> we</c><00:04:44.240><c> have</c><00:04:44.560><c> just</c> 00:04:47.749 --> 00:04:47.759 align:start position:0% 00:04:47.759 --> 00:04:51.350 align:start position:0% products 00:04:51.350 --> 00:04:51.360 align:start position:0% 00:04:51.360 --> 00:04:56.710 align:start position:0% and<00:04:52.720><c> we</c><00:04:52.960><c> need</c><00:04:53.199><c> to</c><00:04:53.440><c> pass</c><00:04:54.080><c> the</c><00:04:54.639><c> after.</c> 00:04:56.710 --> 00:04:56.720 align:start position:0% and we need to pass the after. 00:04:56.720 --> 00:04:59.990 align:start position:0% and we need to pass the after. Okay,<00:04:57.600><c> thank</c><00:04:57.840><c> you</c><00:04:58.160><c> AI.</c><00:04:58.880><c> Yeah,</c><00:04:59.280><c> after</c><00:04:59.600><c> and</c> 00:04:59.990 --> 00:05:00.000 align:start position:0% Okay, thank you AI. Yeah, after and 00:05:00.000 --> 00:05:01.590 align:start position:0% Okay, thank you AI. Yeah, after and before. 00:05:01.590 --> 00:05:01.600 align:start position:0% before. 00:05:01.600 --> 00:05:07.110 align:start position:0% before. And<00:05:01.919><c> now</c><00:05:02.880><c> our</c><00:05:03.440><c> company</c><00:05:04.800><c> needs</c><00:05:05.440><c> to</c> 00:05:07.110 --> 00:05:07.120 align:start position:0% And now our company needs to 00:05:07.120 --> 00:05:12.230 align:start position:0% And now our company needs to work<00:05:07.680><c> exactly</c><00:05:08.960><c> as</c><00:05:09.280><c> it</c><00:05:09.600><c> was</c><00:05:09.840><c> before.</c><00:05:10.639><c> So</c><00:05:11.919><c> reload</c> 00:05:12.230 --> 00:05:12.240 align:start position:0% work exactly as it was before. So reload 00:05:12.240 --> 00:05:13.990 align:start position:0% work exactly as it was before. So reload the<00:05:12.479><c> page.</c> 00:05:13.990 --> 00:05:14.000 align:start position:0% the page. 00:05:14.000 --> 00:05:18.950 align:start position:0% the page. And<00:05:14.240><c> now</c><00:05:14.479><c> we</c><00:05:14.720><c> can</c> 00:05:18.950 --> 00:05:18.960 align:start position:0% 00:05:18.960 --> 00:05:21.350 align:start position:0% Oh,<00:05:19.280><c> it's</c><00:05:19.600><c> right.</c><00:05:19.919><c> Uh</c><00:05:20.160><c> because</c><00:05:20.479><c> I</c><00:05:20.800><c> didn't</c><00:05:21.039><c> pass</c> 00:05:21.350 --> 00:05:21.360 align:start position:0% Oh, it's right. Uh because I didn't pass 00:05:21.360 --> 00:05:25.749 align:start position:0% Oh, it's right. Uh because I didn't pass the<00:05:21.840><c> first</c><00:05:22.800><c> and</c><00:05:23.199><c> the</c><00:05:23.440><c> last.</c><00:05:24.560><c> So</c><00:05:24.960><c> I</c><00:05:25.280><c> can</c><00:05:25.440><c> pass</c> 00:05:25.749 --> 00:05:25.759 align:start position:0% the first and the last. So I can pass 00:05:25.759 --> 00:05:32.390 align:start position:0% the first and the last. So I can pass the<00:05:26.080><c> after</c><00:05:27.280><c> and</c><00:05:28.160><c> first</c><00:05:29.520><c> 10</c><00:05:30.880><c> and</c><00:05:31.120><c> the</c><00:05:31.600><c> last</c><00:05:32.000><c> 10</c> 00:05:32.390 --> 00:05:32.400 align:start position:0% the after and first 10 and the last 10 00:05:32.400 --> 00:05:36.550 align:start position:0% the after and first 10 and the last 10 products.<00:05:32.960><c> So,</c><00:05:33.440><c> if</c><00:05:33.680><c> I'm</c><00:05:35.039><c> going</c><00:05:35.440><c> forward,</c><00:05:36.240><c> I</c> 00:05:36.550 --> 00:05:36.560 align:start position:0% products. So, if I'm going forward, I 00:05:36.560 --> 00:05:41.270 align:start position:0% products. So, if I'm going forward, I want<00:05:36.720><c> the</c><00:05:37.440><c> next</c><00:05:37.840><c> 10</c><00:05:38.240><c> items</c><00:05:39.199><c> or</c><00:05:39.600><c> products.</c> 00:05:41.270 --> 00:05:41.280 align:start position:0% want the next 10 items or products. 00:05:41.280 --> 00:05:45.029 align:start position:0% want the next 10 items or products. Or<00:05:41.759><c> if</c><00:05:42.080><c> I'm</c><00:05:43.039><c> going</c><00:05:43.360><c> back,</c> 00:05:45.029 --> 00:05:45.039 align:start position:0% Or if I'm going back, 00:05:45.039 --> 00:05:49.830 align:start position:0% Or if I'm going back, I<00:05:45.280><c> wanted</c><00:05:45.600><c> the</c><00:05:46.080><c> last</c><00:05:46.400><c> 10</c><00:05:46.720><c> items.</c><00:05:47.520><c> Okay.</c> 00:05:49.830 --> 00:05:49.840 align:start position:0% I wanted the last 10 items. Okay. 00:05:49.840 --> 00:05:51.830 align:start position:0% I wanted the last 10 items. Okay. What<00:05:50.160><c> the</c> 00:05:51.830 --> 00:05:51.840 align:start position:0% What the 00:05:51.840 --> 00:05:55.189 align:start position:0% What the last<00:05:52.639><c> 10?</c> 00:05:55.189 --> 00:05:55.199 align:start position:0% last 10? 00:05:55.199 --> 00:05:57.270 align:start position:0% last 10? So,<00:05:55.520><c> now</c> 00:05:57.270 --> 00:05:57.280 align:start position:0% So, now 00:05:57.280 --> 00:06:00.390 align:start position:0% So, now it<00:05:57.600><c> should</c><00:05:57.919><c> work.</c><00:05:58.800><c> The</c><00:05:59.039><c> search</c><00:05:59.360><c> field</c><00:06:00.080><c> is</c> 00:06:00.390 --> 00:06:00.400 align:start position:0% it should work. The search field is 00:06:00.400 --> 00:06:02.629 align:start position:0% it should work. The search field is simple. 00:06:02.629 --> 00:06:02.639 align:start position:0% simple. 00:06:02.639 --> 00:06:05.830 align:start position:0% simple. Okay,<00:06:03.280><c> it's</c><00:06:03.680><c> working</c><00:06:04.080><c> as</c><00:06:04.319><c> it</c><00:06:04.639><c> was.</c><00:06:05.440><c> And</c><00:06:05.600><c> now</c> 00:06:05.830 --> 00:06:05.840 align:start position:0% Okay, it's working as it was. And now 00:06:05.840 --> 00:06:09.110 align:start position:0% Okay, it's working as it was. And now let's<00:06:06.160><c> go</c><00:06:06.400><c> with</c><00:06:06.639><c> the</c><00:06:07.440><c> query.</c> 00:06:09.110 --> 00:06:09.120 align:start position:0% let's go with the query. 00:06:09.120 --> 00:06:12.469 align:start position:0% let's go with the query. Uh<00:06:10.319><c> here</c><00:06:10.560><c> in</c><00:06:10.720><c> the</c><00:06:11.039><c> products,</c><00:06:11.759><c> we</c><00:06:12.000><c> can</c><00:06:12.160><c> just</c> 00:06:12.469 --> 00:06:12.479 align:start position:0% Uh here in the products, we can just 00:06:12.479 --> 00:06:17.590 align:start position:0% Uh here in the products, we can just pass<00:06:13.120><c> the</c><00:06:14.560><c> query</c><00:06:15.039><c> now.</c> 00:06:17.590 --> 00:06:17.600 align:start position:0% pass the query now. 00:06:17.600 --> 00:06:19.590 align:start position:0% pass the query now. Query. 00:06:19.590 --> 00:06:19.600 align:start position:0% Query. 00:06:19.600 --> 00:06:22.950 align:start position:0% Query. It's<00:06:19.840><c> a</c><00:06:20.160><c> string.</c> 00:06:22.950 --> 00:06:22.960 align:start position:0% It's a string. 00:06:22.960 --> 00:06:25.590 align:start position:0% It's a string. It's<00:06:23.199><c> not</c><00:06:23.440><c> a</c><00:06:23.680><c> string.</c><00:06:24.240><c> Yeah.</c><00:06:24.720><c> Uh</c><00:06:25.039><c> it's</c><00:06:25.360><c> a</c> 00:06:25.590 --> 00:06:25.600 align:start position:0% It's not a string. Yeah. Uh it's a 00:06:25.600 --> 00:06:29.189 align:start position:0% It's not a string. Yeah. Uh it's a string<00:06:26.080><c> in</c><00:06:26.319><c> here.</c><00:06:26.720><c> Query</c><00:06:27.199><c> query.</c><00:06:28.400><c> Okay.</c><00:06:28.880><c> I'm</c> 00:06:29.189 --> 00:06:29.199 align:start position:0% string in here. Query query. Okay. I'm 00:06:29.199 --> 00:06:32.070 align:start position:0% string in here. Query query. Okay. I'm passing<00:06:29.600><c> query</c><00:06:30.000><c> query</c> 00:06:32.070 --> 00:06:32.080 align:start position:0% passing query query 00:06:32.080 --> 00:06:34.950 align:start position:0% passing query query funny<00:06:32.479><c> query</c><00:06:32.880><c> query.</c> 00:06:34.950 --> 00:06:34.960 align:start position:0% funny query query. 00:06:34.960 --> 00:06:38.070 align:start position:0% funny query query. And<00:06:35.840><c> now</c><00:06:36.080><c> that</c><00:06:36.240><c> I'm</c><00:06:36.560><c> using</c><00:06:36.800><c> the</c><00:06:37.039><c> query,</c><00:06:37.680><c> I</c><00:06:37.919><c> can</c> 00:06:38.070 --> 00:06:38.080 align:start position:0% And now that I'm using the query, I can 00:06:38.080 --> 00:06:42.629 align:start position:0% And now that I'm using the query, I can implement<00:06:38.560><c> the</c><00:06:39.360><c> search.</c><00:06:40.000><c> I</c><00:06:40.240><c> will</c><00:06:40.400><c> just</c><00:06:40.720><c> copy</c> 00:06:42.629 --> 00:06:42.639 align:start position:0% implement the search. I will just copy 00:06:42.639 --> 00:06:47.510 align:start position:0% implement the search. I will just copy this<00:06:43.280><c> example</c><00:06:44.720><c> and</c><00:06:45.199><c> paste</c> 00:06:47.510 --> 00:06:47.520 align:start position:0% this example and paste 00:06:47.520 --> 00:06:49.749 align:start position:0% this example and paste right 00:06:49.749 --> 00:06:49.759 align:start position:0% right 00:06:49.759 --> 00:06:56.150 align:start position:0% right above<00:06:50.240><c> my</c><00:06:50.560><c> table.</c><00:06:51.360><c> Right</c> 00:06:56.150 --> 00:06:56.160 align:start position:0% 00:06:56.160 --> 00:07:01.670 align:start position:0% now<00:06:56.400><c> I</c><00:06:56.720><c> can</c><00:06:56.880><c> see</c><00:06:57.280><c> it's</c><00:06:58.319><c> a</c><00:06:58.639><c> little</c><00:06:59.599><c> ugly,</c><00:07:00.400><c> weird.</c> 00:07:01.670 --> 00:07:01.680 align:start position:0% now I can see it's a little ugly, weird. 00:07:01.680 --> 00:07:05.510 align:start position:0% now I can see it's a little ugly, weird. We<00:07:01.919><c> can</c><00:07:02.160><c> fix</c><00:07:02.479><c> that.</c><00:07:03.360><c> Change</c><00:07:03.759><c> the</c> 00:07:05.510 --> 00:07:05.520 align:start position:0% We can fix that. Change the 00:07:05.520 --> 00:07:07.830 align:start position:0% We can fix that. Change the the<00:07:05.919><c> padding.</c> 00:07:07.830 --> 00:07:07.840 align:start position:0% the padding. 00:07:07.840 --> 00:07:12.070 align:start position:0% the padding. So<00:07:08.080><c> now</c><00:07:08.240><c> it's</c><00:07:09.360><c> better.</c><00:07:10.319><c> I</c><00:07:10.560><c> will</c><00:07:10.639><c> not</c><00:07:10.960><c> say</c> 00:07:12.070 --> 00:07:12.080 align:start position:0% So now it's better. I will not say 00:07:12.080 --> 00:07:15.189 align:start position:0% So now it's better. I will not say beautiful<00:07:12.720><c> because</c><00:07:13.520><c> it's</c><00:07:13.919><c> not.</c><00:07:14.639><c> I'm</c><00:07:14.880><c> not</c><00:07:15.039><c> a</c> 00:07:15.189 --> 00:07:15.199 align:start position:0% beautiful because it's not. I'm not a 00:07:15.199 --> 00:07:19.029 align:start position:0% beautiful because it's not. I'm not a designer<00:07:15.680><c> either.</c><00:07:16.720><c> So</c> 00:07:19.029 --> 00:07:19.039 align:start position:0% designer either. So 00:07:19.039 --> 00:07:24.790 align:start position:0% designer either. So I'm<00:07:19.440><c> not</c><00:07:20.080><c> really</c><00:07:20.479><c> good</c><00:07:21.520><c> with</c><00:07:22.560><c> wine</c><00:07:23.039><c> and</c><00:07:24.000><c> wax,</c> 00:07:24.790 --> 00:07:24.800 align:start position:0% I'm not really good with wine and wax, 00:07:24.800 --> 00:07:28.309 align:start position:0% I'm not really good with wine and wax, you<00:07:24.960><c> know.</c><00:07:25.440><c> So</c><00:07:26.639><c> we</c><00:07:26.880><c> have</c><00:07:27.120><c> now</c><00:07:27.360><c> the</c><00:07:27.599><c> the</c><00:07:28.000><c> search</c> 00:07:28.309 --> 00:07:28.319 align:start position:0% you know. So we have now the the search 00:07:28.319 --> 00:07:33.749 align:start position:0% you know. So we have now the the search field,<00:07:28.880><c> but</c><00:07:29.680><c> it</c><00:07:31.120><c> doesn't</c><00:07:31.599><c> do</c><00:07:32.720><c> anything</c> 00:07:33.749 --> 00:07:33.759 align:start position:0% field, but it doesn't do anything 00:07:33.759 --> 00:07:36.710 align:start position:0% field, but it doesn't do anything because<00:07:34.479><c> we</c><00:07:34.960><c> didn't</c> 00:07:36.710 --> 00:07:36.720 align:start position:0% because we didn't 00:07:36.720 --> 00:07:39.749 align:start position:0% because we didn't implement<00:07:37.599><c> anything</c> 00:07:39.749 --> 00:07:39.759 align:start position:0% implement anything 00:07:39.759 --> 00:07:44.790 align:start position:0% implement anything obvious.<00:07:40.960><c> So</c><00:07:41.280><c> now</c><00:07:42.240><c> what</c><00:07:42.560><c> you</c><00:07:42.800><c> can</c><00:07:43.039><c> do</c><00:07:43.280><c> here</c><00:07:43.919><c> is</c> 00:07:44.790 --> 00:07:44.800 align:start position:0% obvious. So now what you can do here is 00:07:44.800 --> 00:07:48.390 align:start position:0% obvious. So now what you can do here is set<00:07:46.000><c> new</c><00:07:46.479><c> state</c> 00:07:48.390 --> 00:07:48.400 align:start position:0% set new state 00:07:48.400 --> 00:07:53.990 align:start position:0% set new state called<00:07:49.280><c> search</c><00:07:50.560><c> term</c><00:07:52.000><c> and</c><00:07:52.560><c> search</c><00:07:53.120><c> term.</c> 00:07:53.990 --> 00:07:54.000 align:start position:0% called search term and search term. 00:07:54.000 --> 00:07:57.589 align:start position:0% called search term and search term. Yeah,<00:07:54.400><c> set</c><00:07:54.720><c> search</c><00:07:55.039><c> term.</c><00:07:56.240><c> And</c><00:07:56.479><c> here</c><00:07:57.039><c> we</c><00:07:57.360><c> can</c> 00:07:57.589 --> 00:07:57.599 align:start position:0% Yeah, set search term. And here we can 00:07:57.599 --> 00:08:05.510 align:start position:0% Yeah, set search term. And here we can have<00:07:57.840><c> like</c><00:07:58.479><c> a</c><00:07:58.800><c> handle</c><00:08:00.240><c> search.</c> 00:08:05.510 --> 00:08:05.520 align:start position:0% 00:08:05.520 --> 00:08:09.510 align:start position:0% It<00:08:05.759><c> will</c><00:08:06.080><c> rearch</c><00:08:06.879><c> receive</c><00:08:07.360><c> the</c><00:08:07.680><c> query</c> 00:08:09.510 --> 00:08:09.520 align:start position:0% It will rearch receive the query 00:08:09.520 --> 00:08:15.189 align:start position:0% It will rearch receive the query which<00:08:09.919><c> is</c><00:08:10.240><c> a</c><00:08:10.560><c> string.</c> 00:08:15.189 --> 00:08:15.199 align:start position:0% 00:08:15.199 --> 00:08:18.629 align:start position:0% Yeah.<00:08:15.759><c> Search.</c><00:08:16.720><c> And</c><00:08:17.039><c> here</c><00:08:17.360><c> we</c><00:08:17.759><c> can</c><00:08:18.160><c> say</c> 00:08:18.629 --> 00:08:18.639 align:start position:0% Yeah. Search. And here we can say 00:08:18.639 --> 00:08:20.550 align:start position:0% Yeah. Search. And here we can say fetcher 00:08:20.550 --> 00:08:20.560 align:start position:0% fetcher 00:08:20.560 --> 00:08:25.749 align:start position:0% fetcher submit<00:08:21.759><c> the</c><00:08:22.080><c> query.</c><00:08:23.039><c> And</c><00:08:23.280><c> just</c><00:08:23.599><c> like</c><00:08:24.000><c> those</c> 00:08:25.749 --> 00:08:25.759 align:start position:0% submit the query. And just like those 00:08:25.759 --> 00:08:28.710 align:start position:0% submit the query. And just like those these<00:08:26.319><c> two</c> 00:08:28.710 --> 00:08:28.720 align:start position:0% these two 00:08:28.720 --> 00:08:31.990 align:start position:0% these two but<00:08:29.120><c> instead</c><00:08:30.080><c> after</c><00:08:30.479><c> and</c><00:08:30.800><c> before</c><00:08:31.360><c> I'm</c><00:08:31.680><c> passing</c> 00:08:31.990 --> 00:08:32.000 align:start position:0% but instead after and before I'm passing 00:08:32.000 --> 00:08:34.870 align:start position:0% but instead after and before I'm passing the<00:08:32.240><c> query.</c><00:08:33.120><c> Okay.</c> 00:08:34.870 --> 00:08:34.880 align:start position:0% the query. Okay. 00:08:34.880 --> 00:08:38.790 align:start position:0% the query. Okay. Uh<00:08:35.760><c> and</c><00:08:36.240><c> here</c><00:08:36.959><c> we</c><00:08:37.279><c> need</c><00:08:37.519><c> to</c><00:08:37.760><c> implement</c><00:08:38.159><c> the</c><00:08:38.399><c> on</c> 00:08:38.790 --> 00:08:38.800 align:start position:0% Uh and here we need to implement the on 00:08:38.800 --> 00:08:41.190 align:start position:0% Uh and here we need to implement the on change 00:08:41.190 --> 00:08:41.200 align:start position:0% change 00:08:41.200 --> 00:08:46.790 align:start position:0% change which<00:08:41.440><c> is</c><00:08:42.240><c> E</c><00:08:43.200><c> and</c><00:08:43.599><c> now</c><00:08:43.839><c> we</c><00:08:44.159><c> can</c><00:08:45.519><c> get</c><00:08:45.760><c> the</c><00:08:46.160><c> handle</c> 00:08:46.790 --> 00:08:46.800 align:start position:0% which is E and now we can get the handle 00:08:46.800 --> 00:08:48.310 align:start position:0% which is E and now we can get the handle search 00:08:48.310 --> 00:08:48.320 align:start position:0% search 00:08:48.320 --> 00:08:53.670 align:start position:0% search and<00:08:48.640><c> pass</c><00:08:49.680><c> a</c><00:08:50.000><c> dot</c><00:08:50.800><c> current</c><00:08:51.519><c> target</c><00:08:52.720><c> current</c> 00:08:53.670 --> 00:08:53.680 align:start position:0% and pass a dot current target current 00:08:53.680 --> 00:08:58.310 align:start position:0% and pass a dot current target current value.<00:08:54.800><c> How</c><00:08:55.040><c> do</c><00:08:55.200><c> I</c><00:08:55.440><c> know</c><00:08:56.160><c> about</c><00:08:56.560><c> this?</c><00:08:58.000><c> So</c> 00:08:58.310 --> 00:08:58.320 align:start position:0% value. How do I know about this? So 00:08:58.320 --> 00:09:01.190 align:start position:0% value. How do I know about this? So basically<00:08:58.640><c> you</c><00:08:58.959><c> can</c><00:08:59.120><c> see</c><00:08:59.279><c> here</c><00:09:00.560><c> uh</c><00:09:00.800><c> it's</c> 00:09:01.190 --> 00:09:01.200 align:start position:0% basically you can see here uh it's 00:09:01.200 --> 00:09:04.550 align:start position:0% basically you can see here uh it's already<00:09:01.600><c> typed.</c> 00:09:04.550 --> 00:09:04.560 align:start position:0% already typed. 00:09:04.560 --> 00:09:08.070 align:start position:0% already typed. And<00:09:05.120><c> you</c><00:09:05.440><c> can</c><00:09:05.920><c> just</c><00:09:06.800><c> look</c><00:09:07.360><c> inside</c><00:09:07.839><c> the</c> 00:09:08.070 --> 00:09:08.080 align:start position:0% And you can just look inside the 00:09:08.080 --> 00:09:11.670 align:start position:0% And you can just look inside the elements.<00:09:08.720><c> So</c><00:09:09.839><c> we</c><00:09:10.080><c> have</c><00:09:10.240><c> a</c><00:09:10.480><c> lot</c><00:09:10.640><c> of</c><00:09:11.200><c> options</c> 00:09:11.670 --> 00:09:11.680 align:start position:0% elements. So we have a lot of options 00:09:11.680 --> 00:09:14.070 align:start position:0% elements. So we have a lot of options here.<00:09:12.320><c> But</c><00:09:12.560><c> what</c><00:09:12.880><c> what</c><00:09:13.200><c> I</c><00:09:13.440><c> want</c><00:09:13.600><c> is</c><00:09:13.839><c> the</c> 00:09:14.070 --> 00:09:14.080 align:start position:0% here. But what what I want is the 00:09:14.080 --> 00:09:17.910 align:start position:0% here. But what what I want is the current<00:09:14.480><c> target</c><00:09:15.040><c> dot</c><00:09:15.440><c> valid.</c> 00:09:17.910 --> 00:09:17.920 align:start position:0% current target dot valid. 00:09:17.920 --> 00:09:21.509 align:start position:0% current target dot valid. This<00:09:19.040><c> is</c><00:09:19.200><c> the</c><00:09:19.440><c> term</c><00:09:19.680><c> that</c><00:09:20.000><c> I</c><00:09:20.160><c> mean</c><00:09:21.040><c> searching</c> 00:09:21.509 --> 00:09:21.519 align:start position:0% This is the term that I mean searching 00:09:21.519 --> 00:09:28.230 align:start position:0% This is the term that I mean searching for<00:09:21.760><c> it.</c><00:09:22.399><c> Okay.</c><00:09:23.040><c> So</c><00:09:23.519><c> we</c><00:09:23.760><c> can</c><00:09:24.000><c> see</c><00:09:24.240><c> it</c><00:09:24.800><c> here</c> 00:09:28.230 --> 00:09:28.240 align:start position:0% 00:09:28.240 --> 00:09:33.990 align:start position:0% just<00:09:28.800><c> to</c><00:09:30.160><c> to</c><00:09:30.560><c> show</c><00:09:30.800><c> you.</c><00:09:31.600><c> Okay.</c> 00:09:33.990 --> 00:09:34.000 align:start position:0% just to to show you. Okay. 00:09:34.000 --> 00:09:38.710 align:start position:0% just to to show you. Okay. And<00:09:34.720><c> now</c><00:09:35.360><c> we</c><00:09:35.760><c> can</c><00:09:36.399><c> go</c><00:09:36.720><c> back</c><00:09:36.959><c> to</c><00:09:37.279><c> the</c><00:09:38.240><c> settings</c> 00:09:38.710 --> 00:09:38.720 align:start position:0% And now we can go back to the settings 00:09:38.720 --> 00:09:43.750 align:start position:0% And now we can go back to the settings actions<00:09:40.000><c> and</c><00:09:40.399><c> get</c><00:09:40.720><c> this</c><00:09:40.959><c> search</c><00:09:42.000><c> here</c> 00:09:43.750 --> 00:09:43.760 align:start position:0% actions and get this search here 00:09:43.760 --> 00:09:46.230 align:start position:0% actions and get this search here query 00:09:46.230 --> 00:09:46.240 align:start position:0% query 00:09:46.240 --> 00:09:48.150 align:start position:0% query exactly 00:09:48.150 --> 00:09:48.160 align:start position:0% exactly 00:09:48.160 --> 00:09:51.750 align:start position:0% exactly and<00:09:48.480><c> let's</c><00:09:48.800><c> see</c><00:09:49.279><c> let's</c><00:09:49.600><c> see</c> 00:09:51.750 --> 00:09:51.760 align:start position:0% and let's see let's see 00:09:51.760 --> 00:09:54.550 align:start position:0% and let's see let's see received<00:09:52.320><c> query.</c> 00:09:54.550 --> 00:09:54.560 align:start position:0% received query. 00:09:54.560 --> 00:09:56.630 align:start position:0% received query. So 00:09:56.630 --> 00:09:56.640 align:start position:0% So 00:09:56.640 --> 00:09:59.829 align:start position:0% So now<00:09:56.959><c> let</c><00:09:57.120><c> me</c><00:09:57.360><c> reload</c><00:09:57.680><c> the</c><00:09:57.920><c> page,</c> 00:09:59.829 --> 00:09:59.839 align:start position:0% now let me reload the page, 00:09:59.839 --> 00:10:03.829 align:start position:0% now let me reload the page, open<00:10:00.160><c> the</c><00:10:00.480><c> console</c><00:10:00.959><c> log</c><00:10:01.360><c> for</c><00:10:01.600><c> you.</c><00:10:02.880><c> And</c><00:10:03.279><c> if</c><00:10:03.600><c> I</c> 00:10:03.829 --> 00:10:03.839 align:start position:0% open the console log for you. And if I 00:10:03.839 --> 00:10:09.430 align:start position:0% open the console log for you. And if I search<00:10:04.080><c> for</c><00:10:04.320><c> a</c><00:10:04.560><c> term,</c> 00:10:09.430 --> 00:10:09.440 align:start position:0% 00:10:09.440 --> 00:10:17.030 align:start position:0% it's<00:10:09.920><c> broke</c><00:10:11.200><c> because</c> 00:10:17.030 --> 00:10:17.040 align:start position:0% 00:10:17.040 --> 00:10:19.670 align:start position:0% it's<00:10:17.519><c> broke</c><00:10:18.000><c> because</c> 00:10:19.670 --> 00:10:19.680 align:start position:0% it's broke because 00:10:19.680 --> 00:10:21.350 align:start position:0% it's broke because Oh, 00:10:21.350 --> 00:10:21.360 align:start position:0% Oh, 00:10:21.360 --> 00:10:24.630 align:start position:0% Oh, I<00:10:21.680><c> don't</c><00:10:21.839><c> have</c><00:10:22.480><c> any</c><00:10:22.800><c> fing.</c><00:10:23.519><c> Yeah,</c><00:10:23.839><c> it's</c><00:10:24.160><c> right.</c> 00:10:24.630 --> 00:10:24.640 align:start position:0% I don't have any fing. Yeah, it's right. 00:10:24.640 --> 00:10:27.829 align:start position:0% I don't have any fing. Yeah, it's right. It's<00:10:24.959><c> not</c><00:10:25.519><c> anything</c><00:10:26.320><c> wrong.</c> 00:10:27.829 --> 00:10:27.839 align:start position:0% It's not anything wrong. 00:10:27.839 --> 00:10:31.430 align:start position:0% It's not anything wrong. We<00:10:28.079><c> can</c><00:10:28.320><c> say</c><00:10:29.200><c> else</c> 00:10:31.430 --> 00:10:31.440 align:start position:0% We can say else 00:10:31.440 --> 00:10:32.949 align:start position:0% We can say else con 00:10:32.949 --> 00:10:32.959 align:start position:0% con 00:10:32.959 --> 00:10:35.190 align:start position:0% con data 00:10:35.190 --> 00:10:35.200 align:start position:0% data 00:10:35.200 --> 00:10:37.750 align:start position:0% data which 00:10:37.750 --> 00:10:37.760 align:start position:0% which 00:10:37.760 --> 00:10:40.949 align:start position:0% which yeah<00:10:38.079><c> now</c><00:10:38.320><c> I</c><00:10:38.560><c> want</c><00:10:38.720><c> the</c><00:10:38.959><c> the</c><00:10:39.440><c> query</c> 00:10:40.949 --> 00:10:40.959 align:start position:0% yeah now I want the the query 00:10:40.959 --> 00:10:47.430 align:start position:0% yeah now I want the the query and<00:10:42.000><c> the</c><00:10:42.640><c> 10</c><00:10:43.920><c> uh</c><00:10:44.480><c> first</c><00:10:44.959><c> items</c><00:10:45.519><c> from</c><00:10:46.399><c> this</c> 00:10:47.430 --> 00:10:47.440 align:start position:0% and the 10 uh first items from this 00:10:47.440 --> 00:10:50.150 align:start position:0% and the 10 uh first items from this query. 00:10:50.150 --> 00:10:50.160 align:start position:0% query. 00:10:50.160 --> 00:10:51.829 align:start position:0% query. Uh 00:10:51.829 --> 00:10:51.839 align:start position:0% Uh 00:10:51.839 --> 00:10:54.710 align:start position:0% Uh this<00:10:52.079><c> is</c><00:10:52.720><c> not</c><00:10:53.120><c> going</c><00:10:53.360><c> to</c><00:10:53.600><c> work</c><00:10:53.920><c> because</c><00:10:54.399><c> I'm</c> 00:10:54.710 --> 00:10:54.720 align:start position:0% this is not going to work because I'm 00:10:54.720 --> 00:10:57.829 align:start position:0% this is not going to work because I'm just<00:10:54.880><c> passing</c><00:10:55.360><c> query</c><00:10:56.000><c> and</c><00:10:56.399><c> is</c><00:10:56.640><c> not</c><00:10:56.959><c> like</c><00:10:57.200><c> this.</c> 00:10:57.829 --> 00:10:57.839 align:start position:0% just passing query and is not like this. 00:10:57.839 --> 00:10:59.910 align:start position:0% just passing query and is not like this. If<00:10:58.160><c> we</c> 00:10:59.910 --> 00:10:59.920 align:start position:0% If we 00:10:59.920 --> 00:11:03.910 align:start position:0% If we go<00:11:00.320><c> here</c><00:11:00.640><c> to</c><00:11:00.880><c> the</c><00:11:01.200><c> products</c> 00:11:03.910 --> 00:11:03.920 align:start position:0% go here to the products 00:11:03.920 --> 00:11:07.430 align:start position:0% go here to the products the<00:11:04.240><c> query</c><00:11:04.640><c> parent</c><00:11:05.440><c> it</c><00:11:05.760><c> needs</c><00:11:06.079><c> to</c><00:11:06.320><c> be</c><00:11:06.959><c> I</c><00:11:07.279><c> need</c> 00:11:07.430 --> 00:11:07.440 align:start position:0% the query parent it needs to be I need 00:11:07.440 --> 00:11:10.470 align:start position:0% the query parent it needs to be I need to<00:11:07.680><c> pass</c><00:11:08.320><c> something</c><00:11:08.720><c> like</c><00:11:09.417><c> [snorts]</c><00:11:09.920><c> this.</c><00:11:10.240><c> I</c> 00:11:10.470 --> 00:11:10.480 align:start position:0% to pass something like [snorts] this. I 00:11:10.480 --> 00:11:12.790 align:start position:0% to pass something like [snorts] this. I need<00:11:10.560><c> to</c><00:11:10.720><c> pass</c><00:11:11.040><c> another</c> 00:11:12.790 --> 00:11:12.800 align:start position:0% need to pass another 00:11:12.800 --> 00:11:15.829 align:start position:0% need to pass another uh<00:11:13.040><c> variable</c><00:11:14.240><c> variable.</c><00:11:14.800><c> I</c><00:11:15.040><c> don't</c><00:11:15.120><c> know</c><00:11:15.519><c> if</c> 00:11:15.829 --> 00:11:15.839 align:start position:0% uh variable variable. I don't know if 00:11:15.839 --> 00:11:20.389 align:start position:0% uh variable variable. I don't know if it's<00:11:16.160><c> a</c><00:11:16.320><c> a</c><00:11:16.640><c> var</c><00:11:17.279><c> a</c><00:11:17.440><c> variable.</c><00:11:18.640><c> So</c><00:11:18.959><c> here</c><00:11:19.440><c> title</c> 00:11:20.389 --> 00:11:20.399 align:start position:0% it's a a var a variable. So here title 00:11:20.399 --> 00:11:24.870 align:start position:0% it's a a var a variable. So here title in<00:11:20.640><c> each</c><00:11:20.880><c> best</c><00:11:21.200><c> title.</c><00:11:22.320><c> So</c><00:11:22.480><c> we</c><00:11:22.800><c> can</c><00:11:23.200><c> say</c><00:11:24.399><c> like</c> 00:11:24.870 --> 00:11:24.880 align:start position:0% in each best title. So we can say like 00:11:24.880 --> 00:11:28.069 align:start position:0% in each best title. So we can say like this.<00:11:25.920><c> Um</c> 00:11:28.069 --> 00:11:28.079 align:start position:0% this. Um 00:11:28.079 --> 00:11:30.310 align:start position:0% this. Um I<00:11:28.240><c> can</c><00:11:28.800><c> put</c> 00:11:30.310 --> 00:11:30.320 align:start position:0% I can put 00:11:30.320 --> 00:11:32.069 align:start position:0% I can put title. 00:11:32.069 --> 00:11:32.079 align:start position:0% title. 00:11:32.079 --> 00:11:37.910 align:start position:0% title. Yes,<00:11:32.720><c> exactly.</c><00:11:34.000><c> Uh</c><00:11:34.399><c> I</c><00:11:34.720><c> just</c><00:11:35.120><c> copy</c><00:11:36.000><c> its</c> 00:11:37.910 --> 00:11:37.920 align:start position:0% Yes, exactly. Uh I just copy its 00:11:37.920 --> 00:11:39.430 align:start position:0% Yes, exactly. Uh I just copy its title. 00:11:39.430 --> 00:11:39.440 align:start position:0% title. 00:11:39.440 --> 00:11:42.949 align:start position:0% title. I<00:11:39.760><c> can</c><00:11:40.480><c> guess</c><00:11:40.880><c> query</c> 00:11:42.949 --> 00:11:42.959 align:start position:0% I can guess query 00:11:42.959 --> 00:11:46.630 align:start position:0% I can guess query and<00:11:43.279><c> to</c><00:11:43.600><c> get</c><00:11:44.079><c> all</c><00:11:44.399><c> results</c><00:11:45.279><c> related</c><00:11:46.160><c> with</c><00:11:46.399><c> the</c> 00:11:46.630 --> 00:11:46.640 align:start position:0% and to get all results related with the 00:11:46.640 --> 00:11:50.550 align:start position:0% and to get all results related with the term<00:11:46.880><c> that</c><00:11:47.120><c> I'm</c><00:11:47.760><c> looking</c><00:11:48.079><c> for</c><00:11:48.640><c> I</c><00:11:48.880><c> can</c><00:11:49.760><c> put</c><00:11:50.160><c> that</c> 00:11:50.550 --> 00:11:50.560 align:start position:0% term that I'm looking for I can put that 00:11:50.560 --> 00:11:54.949 align:start position:0% term that I'm looking for I can put that symbol<00:11:51.040><c> here.</c><00:11:52.480><c> So</c><00:11:52.800><c> now</c><00:11:53.519><c> when</c><00:11:53.839><c> I</c><00:11:54.079><c> search</c><00:11:54.399><c> for</c> 00:11:54.949 --> 00:11:54.959 align:start position:0% symbol here. So now when I search for 00:11:54.959 --> 00:11:59.430 align:start position:0% symbol here. So now when I search for something<00:11:55.600><c> for</c><00:11:55.760><c> example</c><00:11:57.120><c> the</c> 00:11:59.430 --> 00:11:59.440 align:start position:0% something for example the 00:11:59.440 --> 00:12:04.310 align:start position:0% something for example the I<00:11:59.760><c> can</c><00:11:59.920><c> find</c><00:12:00.640><c> all</c><00:12:01.040><c> products</c><00:12:01.760><c> with</c><00:12:02.480><c> the</c> 00:12:04.310 --> 00:12:04.320 align:start position:0% I can find all products with the 00:12:04.320 --> 00:12:08.870 align:start position:0% I can find all products with the if<00:12:04.560><c> I</c><00:12:05.040><c> type</c><00:12:05.519><c> just</c><00:12:06.000><c> the</c><00:12:06.399><c> C</c> 00:12:08.870 --> 00:12:08.880 align:start position:0% if I type just the C 00:12:08.880 --> 00:12:13.590 align:start position:0% if I type just the C I<00:12:09.200><c> can</c><00:12:09.360><c> find</c><00:12:09.839><c> all</c><00:12:10.320><c> products</c><00:12:11.200><c> with</c><00:12:11.839><c> the</c><00:12:12.240><c> C.</c> 00:12:13.590 --> 00:12:13.600 align:start position:0% I can find all products with the C. 00:12:13.600 --> 00:12:15.350 align:start position:0% I can find all products with the C. Okay. 00:12:15.350 --> 00:12:15.360 align:start position:0% Okay. 00:12:15.360 --> 00:12:18.310 align:start position:0% Okay. And<00:12:15.680><c> here</c><00:12:16.800><c> right</c> 00:12:18.310 --> 00:12:18.320 align:start position:0% And here right 00:12:18.320 --> 00:12:21.350 align:start position:0% And here right at<00:12:18.639><c> my</c><00:12:18.880><c> side</c><00:12:19.279><c> you</c><00:12:19.519><c> can</c><00:12:19.680><c> see</c><00:12:19.839><c> in</c><00:12:20.079><c> the</c><00:12:20.240><c> console</c> 00:12:21.350 --> 00:12:21.360 align:start position:0% at my side you can see in the console 00:12:21.360 --> 00:12:24.069 align:start position:0% at my side you can see in the console the<00:12:21.680><c> search</c> 00:12:24.069 --> 00:12:24.079 align:start position:0% the search 00:12:24.079 --> 00:12:27.670 align:start position:0% the search uh<00:12:24.639><c> why</c><00:12:24.959><c> I'm</c><00:12:25.839><c> um</c><00:12:26.399><c> for</c><00:12:26.480><c> example</c><00:12:26.959><c> if</c><00:12:27.200><c> you're</c> 00:12:27.670 --> 00:12:27.680 align:start position:0% uh why I'm um for example if you're 00:12:27.680 --> 00:12:30.949 align:start position:0% uh why I'm um for example if you're implementing<00:12:28.800><c> and</c><00:12:29.519><c> for</c><00:12:29.839><c> some</c><00:12:30.079><c> reason</c><00:12:30.399><c> is</c><00:12:30.639><c> not</c> 00:12:30.949 --> 00:12:30.959 align:start position:0% implementing and for some reason is not 00:12:30.959 --> 00:12:34.629 align:start position:0% implementing and for some reason is not searching<00:12:31.680><c> automatically</c><00:12:32.560><c> when</c><00:12:32.880><c> you</c><00:12:34.000><c> type</c> 00:12:34.629 --> 00:12:34.639 align:start position:0% searching automatically when you type 00:12:34.639 --> 00:12:37.750 align:start position:0% searching automatically when you type it's<00:12:34.959><c> because</c><00:12:35.440><c> the</c><00:12:35.920><c> onch</c><00:12:36.320><c> changing</c><00:12:37.440><c> the</c> 00:12:37.750 --> 00:12:37.760 align:start position:0% it's because the onch changing the 00:12:37.760 --> 00:12:41.509 align:start position:0% it's because the onch changing the search<00:12:38.160><c> field</c><00:12:38.880><c> is</c><00:12:39.200><c> a</c><00:12:39.440><c> little</c><00:12:39.680><c> different</c><00:12:41.040><c> than</c> 00:12:41.509 --> 00:12:41.519 align:start position:0% search field is a little different than 00:12:41.519 --> 00:12:46.710 align:start position:0% search field is a little different than the<00:12:42.720><c> usual</c><00:12:43.839><c> Because</c><00:12:45.040><c> the</c><00:12:45.279><c> onch</c><00:12:45.680><c> change</c><00:12:46.320><c> is</c> 00:12:46.710 --> 00:12:46.720 align:start position:0% the usual Because the onch change is 00:12:46.720 --> 00:12:49.030 align:start position:0% the usual Because the onch change is just<00:12:47.360><c> trigger</c> 00:12:49.030 --> 00:12:49.040 align:start position:0% just trigger 00:12:49.040 --> 00:12:54.870 align:start position:0% just trigger when<00:12:50.480><c> um</c><00:12:51.839><c> we</c><00:12:52.160><c> click</c><00:12:52.560><c> outside</c><00:12:53.120><c> the</c><00:12:53.360><c> input</c><00:12:54.160><c> or</c> 00:12:54.870 --> 00:12:54.880 align:start position:0% when um we click outside the input or 00:12:54.880 --> 00:13:01.670 align:start position:0% when um we click outside the input or when<00:12:55.279><c> we</c><00:12:55.680><c> hit</c><00:12:56.240><c> enter.</c><00:12:57.440><c> So</c><00:12:58.240><c> enter.</c><00:12:59.440><c> Oh</c><00:12:59.680><c> sorry</c><00:13:00.959><c> um</c> 00:13:01.670 --> 00:13:01.680 align:start position:0% when we hit enter. So enter. Oh sorry um 00:13:01.680 --> 00:13:05.190 align:start position:0% when we hit enter. So enter. Oh sorry um enter 00:13:05.190 --> 00:13:05.200 align:start position:0% 00:13:05.200 --> 00:13:08.790 align:start position:0% uh<00:13:05.440><c> space</c><00:13:06.160><c> and</c><00:13:06.480><c> click</c><00:13:07.360><c> and</c><00:13:07.839><c> I</c><00:13:08.079><c> will</c><00:13:08.240><c> click</c> 00:13:08.790 --> 00:13:08.800 align:start position:0% uh space and click and I will click 00:13:08.800 --> 00:13:11.910 align:start position:0% uh space and click and I will click outside<00:13:09.360><c> the</c><00:13:09.519><c> input.</c> 00:13:11.910 --> 00:13:11.920 align:start position:0% outside the input. 00:13:11.920 --> 00:13:13.990 align:start position:0% outside the input. See? 00:13:13.990 --> 00:13:14.000 align:start position:0% See? 00:13:14.000 --> 00:13:15.750 align:start position:0% See? Okay. 00:13:15.750 --> 00:13:15.760 align:start position:0% Okay. 00:13:15.760 --> 00:13:18.629 align:start position:0% Okay. Uh<00:13:16.320><c> and</c><00:13:16.560><c> now</c> 00:13:18.629 --> 00:13:18.639 align:start position:0% Uh and now 00:13:18.639 --> 00:13:21.590 align:start position:0% Uh and now what<00:13:18.959><c> it</c><00:13:19.120><c> can</c><00:13:19.279><c> Oh</c><00:13:19.600><c> yeah.</c><00:13:20.720><c> Uh</c><00:13:21.120><c> the</c><00:13:21.360><c> other</c> 00:13:21.590 --> 00:13:21.600 align:start position:0% what it can Oh yeah. Uh the other 00:13:21.600 --> 00:13:23.430 align:start position:0% what it can Oh yeah. Uh the other problem<00:13:21.839><c> that</c><00:13:22.079><c> we</c><00:13:22.240><c> have</c><00:13:22.480><c> here</c><00:13:22.800><c> is</c><00:13:23.120><c> because</c> 00:13:23.430 --> 00:13:23.440 align:start position:0% problem that we have here is because 00:13:23.440 --> 00:13:27.110 align:start position:0% problem that we have here is because when<00:13:23.760><c> we</c><00:13:24.160><c> change</c><00:13:24.399><c> the</c><00:13:24.639><c> page</c> 00:13:27.110 --> 00:13:27.120 align:start position:0% when we change the page 00:13:27.120 --> 00:13:30.550 align:start position:0% when we change the page weird,<00:13:28.000><c> right?</c><00:13:28.720><c> Why</c><00:13:29.040><c> do</c><00:13:29.200><c> we</c><00:13:29.440><c> have</c><00:13:30.160><c> selling</c> 00:13:30.550 --> 00:13:30.560 align:start position:0% weird, right? Why do we have selling 00:13:30.560 --> 00:13:33.910 align:start position:0% weird, right? Why do we have selling plans<00:13:31.519><c> ski</c><00:13:32.079><c> walks?</c> 00:13:33.910 --> 00:13:33.920 align:start position:0% plans ski walks? 00:13:33.920 --> 00:13:36.790 align:start position:0% plans ski walks? There<00:13:34.079><c> is</c><00:13:34.320><c> nothing</c><00:13:34.720><c> rel.</c><00:13:35.600><c> It's</c><00:13:35.760><c> not</c><00:13:36.079><c> related</c> 00:13:36.790 --> 00:13:36.800 align:start position:0% There is nothing rel. It's not related 00:13:36.800 --> 00:13:40.870 align:start position:0% There is nothing rel. It's not related with<00:13:37.120><c> the</c> 00:13:40.870 --> 00:13:40.880 align:start position:0% 00:13:40.880 --> 00:13:43.590 align:start position:0% the<00:13:41.200><c> problem</c><00:13:41.519><c> is</c><00:13:42.079><c> we</c><00:13:42.320><c> need</c><00:13:42.480><c> to</c><00:13:42.720><c> fix</c><00:13:43.279><c> our</c> 00:13:43.590 --> 00:13:43.600 align:start position:0% the problem is we need to fix our 00:13:43.600 --> 00:13:48.069 align:start position:0% the problem is we need to fix our pagionation<00:13:44.399><c> now</c><00:13:44.800><c> because</c><00:13:45.120><c> we</c><00:13:45.360><c> have</c><00:13:46.000><c> a</c><00:13:46.320><c> term</c> 00:13:48.069 --> 00:13:48.079 align:start position:0% pagionation now because we have a term 00:13:48.079 --> 00:13:53.509 align:start position:0% pagionation now because we have a term but<00:13:48.639><c> as</c><00:13:48.880><c> you</c><00:13:49.120><c> can</c><00:13:49.360><c> see</c><00:13:49.600><c> here</c><00:13:50.000><c> in</c><00:13:50.320><c> the</c><00:13:51.519><c> table</c> 00:13:53.509 --> 00:13:53.519 align:start position:0% but as you can see here in the table 00:13:53.519 --> 00:13:57.269 align:start position:0% but as you can see here in the table we<00:13:53.760><c> are</c><00:13:53.920><c> just</c><00:13:54.240><c> passing</c><00:13:55.120><c> the</c><00:13:55.760><c> cursor</c> 00:13:57.269 --> 00:13:57.279 align:start position:0% we are just passing the cursor 00:13:57.279 --> 00:14:00.870 align:start position:0% we are just passing the cursor and<00:13:57.519><c> not</c><00:13:57.760><c> the</c><00:13:57.920><c> query.</c><00:13:59.279><c> So</c> 00:14:00.870 --> 00:14:00.880 align:start position:0% and not the query. So 00:14:00.880 --> 00:14:05.269 align:start position:0% and not the query. So when<00:14:01.199><c> I</c><00:14:01.920><c> click</c><00:14:02.639><c> on</c><00:14:02.959><c> the</c><00:14:03.600><c> arrow,</c><00:14:04.720><c> I'm</c><00:14:05.040><c> just</c> 00:14:05.269 --> 00:14:05.279 align:start position:0% when I click on the arrow, I'm just 00:14:05.279 --> 00:14:09.430 align:start position:0% when I click on the arrow, I'm just passing<00:14:05.680><c> the</c><00:14:05.920><c> cursor</c><00:14:06.880><c> and</c><00:14:07.279><c> not</c><00:14:08.720><c> the</c><00:14:09.040><c> current</c> 00:14:09.430 --> 00:14:09.440 align:start position:0% passing the cursor and not the current 00:14:09.440 --> 00:14:11.030 align:start position:0% passing the cursor and not the current query. 00:14:11.030 --> 00:14:11.040 align:start position:0% query. 00:14:11.040 --> 00:14:13.110 align:start position:0% query. So 00:14:13.110 --> 00:14:13.120 align:start position:0% So 00:14:13.120 --> 00:14:15.829 align:start position:0% So it's<00:14:13.519><c> just</c><00:14:13.920><c> getting</c><00:14:14.240><c> the</c><00:14:14.560><c> next</c><00:14:15.040><c> or</c><00:14:15.279><c> the</c><00:14:15.519><c> last</c> 00:14:15.829 --> 00:14:15.839 align:start position:0% it's just getting the next or the last 00:14:15.839 --> 00:14:17.670 align:start position:0% it's just getting the next or the last 10<00:14:16.160><c> products</c> 00:14:17.670 --> 00:14:17.680 align:start position:0% 10 products 00:14:17.680 --> 00:14:22.790 align:start position:0% 10 products after<00:14:18.160><c> the</c><00:14:19.519><c> cursor</c><00:14:20.240><c> from</c><00:14:21.120><c> the</c><00:14:21.440><c> search</c><00:14:22.320><c> that</c><00:14:22.560><c> I</c> 00:14:22.790 --> 00:14:22.800 align:start position:0% after the cursor from the search that I 00:14:22.800 --> 00:14:25.254 align:start position:0% after the cursor from the search that I did.<00:14:23.519><c> Okay.</c> 00:14:25.254 --> 00:14:25.264 align:start position:0% did. Okay. 00:14:25.264 --> 00:14:28.550 align:start position:0% did. Okay. [clears throat]<00:14:25.440><c> So</c><00:14:25.839><c> how</c><00:14:26.160><c> can</c><00:14:26.480><c> we</c><00:14:26.800><c> fix</c><00:14:27.199><c> that?</c> 00:14:28.550 --> 00:14:28.560 align:start position:0% [clears throat] So how can we fix that? 00:14:28.560 --> 00:14:31.750 align:start position:0% [clears throat] So how can we fix that? Simple.<00:14:29.519><c> Now</c><00:14:29.920><c> you</c><00:14:30.160><c> just</c><00:14:30.959><c> just</c><00:14:31.279><c> need</c><00:14:31.440><c> to</c><00:14:31.519><c> pass</c> 00:14:31.750 --> 00:14:31.760 align:start position:0% Simple. Now you just just need to pass 00:14:31.760 --> 00:14:34.389 align:start position:0% Simple. Now you just just need to pass the<00:14:32.000><c> query</c> 00:14:34.389 --> 00:14:34.399 align:start position:0% the query 00:14:34.399 --> 00:14:37.430 align:start position:0% the query in<00:14:34.560><c> the</c><00:14:34.720><c> pagionation.</c> 00:14:37.430 --> 00:14:37.440 align:start position:0% in the pagionation. 00:14:37.440 --> 00:14:39.350 align:start position:0% in the pagionation. So<00:14:37.680><c> now</c><00:14:38.240><c> we</c><00:14:38.480><c> have</c><00:14:38.639><c> the</c><00:14:38.800><c> query</c><00:14:39.120><c> in</c><00:14:39.279><c> the</c> 00:14:39.350 --> 00:14:39.360 align:start position:0% So now we have the query in the 00:14:39.360 --> 00:14:40.870 align:start position:0% So now we have the query in the pagionation. 00:14:40.870 --> 00:14:40.880 align:start position:0% pagionation. 00:14:40.880 --> 00:14:43.350 align:start position:0% pagionation. What<00:14:41.120><c> you</c><00:14:41.279><c> need</c><00:14:41.440><c> to</c><00:14:41.680><c> do?</c> 00:14:43.350 --> 00:14:43.360 align:start position:0% What you need to do? 00:14:43.360 --> 00:14:47.910 align:start position:0% What you need to do? We<00:14:43.600><c> need</c><00:14:43.760><c> to</c><00:14:44.000><c> come</c><00:14:44.240><c> back</c><00:14:44.480><c> here</c><00:14:45.519><c> and</c><00:14:46.480><c> pass</c><00:14:47.600><c> the</c> 00:14:47.910 --> 00:14:47.920 align:start position:0% We need to come back here and pass the 00:14:47.920 --> 00:14:52.230 align:start position:0% We need to come back here and pass the query. 00:14:52.230 --> 00:14:52.240 align:start position:0% 00:14:52.240 --> 00:14:55.750 align:start position:0% But<00:14:53.120><c> we</c><00:14:53.440><c> have</c><00:14:53.600><c> a</c><00:14:54.240><c> a</c><00:14:54.639><c> little</c><00:14:55.040><c> problem</c><00:14:55.519><c> right</c> 00:14:55.750 --> 00:14:55.760 align:start position:0% But we have a a little problem right 00:14:55.760 --> 00:14:58.870 align:start position:0% But we have a a little problem right here.<00:14:56.320><c> It's</c> 00:14:58.870 --> 00:14:58.880 align:start position:0% here. It's 00:14:58.880 --> 00:15:02.710 align:start position:0% here. It's need<00:14:59.040><c> to</c><00:14:59.279><c> make</c><00:15:00.000><c> uh</c><00:15:00.240><c> we</c><00:15:00.480><c> need</c><00:15:00.720><c> to</c><00:15:00.959><c> do</c><00:15:01.519><c> to</c><00:15:01.839><c> make</c><00:15:02.399><c> a</c> 00:15:02.710 --> 00:15:02.720 align:start position:0% need to make uh we need to do to make a 00:15:02.720 --> 00:15:05.829 align:start position:0% need to make uh we need to do to make a condition.<00:15:03.839><c> So</c><00:15:04.240><c> query</c> 00:15:05.829 --> 00:15:05.839 align:start position:0% condition. So query 00:15:05.839 --> 00:15:08.790 align:start position:0% condition. So query will<00:15:06.079><c> be</c><00:15:06.320><c> query</c> 00:15:08.790 --> 00:15:08.800 align:start position:0% will be query 00:15:08.800 --> 00:15:11.269 align:start position:0% will be query exist 00:15:11.269 --> 00:15:11.279 align:start position:0% exist 00:15:11.279 --> 00:15:17.430 align:start position:0% exist if<00:15:11.839><c> it</c><00:15:12.399><c> exist</c><00:15:13.680><c> we</c><00:15:14.000><c> need</c><00:15:14.160><c> to</c><00:15:14.480><c> do</c> 00:15:17.430 --> 00:15:17.440 align:start position:0% if it exist we need to do 00:15:17.440 --> 00:15:20.710 align:start position:0% if it exist we need to do um<00:15:18.880><c> title.</c> 00:15:20.710 --> 00:15:20.720 align:start position:0% um title. 00:15:20.720 --> 00:15:25.189 align:start position:0% um title. Oh,<00:15:21.040><c> it's</c><00:15:21.360><c> here.</c><00:15:21.839><c> Uh,</c><00:15:22.320><c> query</c><00:15:22.959><c> or</c><00:15:23.279><c> undefined</c> 00:15:25.189 --> 00:15:25.199 align:start position:0% Oh, it's here. Uh, query or undefined 00:15:25.199 --> 00:15:28.310 align:start position:0% Oh, it's here. Uh, query or undefined the<00:15:25.519><c> same</c><00:15:25.839><c> here.</c> 00:15:28.310 --> 00:15:28.320 align:start position:0% the same here. 00:15:28.320 --> 00:15:33.509 align:start position:0% the same here. So<00:15:28.639><c> now</c><00:15:29.519><c> it</c><00:15:29.839><c> should</c><00:15:30.160><c> work.</c><00:15:31.120><c> Let's</c><00:15:31.519><c> see</c><00:15:32.560><c> if</c><00:15:32.880><c> not</c> 00:15:33.509 --> 00:15:33.519 align:start position:0% So now it should work. Let's see if not 00:15:33.519 --> 00:15:38.629 align:start position:0% So now it should work. Let's see if not the<00:15:33.839><c> problem</c><00:15:34.160><c> is</c><00:15:34.480><c> with</c><00:15:34.880><c> the</c><00:15:35.279><c> undefined.</c><00:15:36.639><c> But</c> 00:15:38.629 --> 00:15:38.639 align:start position:0% the problem is with the undefined. But 00:15:38.639 --> 00:15:41.590 align:start position:0% the problem is with the undefined. But now<00:15:39.040><c> the</c> 00:15:41.590 --> 00:15:41.600 align:start position:0% now the 00:15:41.600 --> 00:15:45.590 align:start position:0% now the and<00:15:41.839><c> the</c><00:15:42.639><c> I</c><00:15:42.959><c> have</c><00:15:43.199><c> all</c><00:15:43.519><c> products</c><00:15:44.079><c> related</c><00:15:44.800><c> with</c> 00:15:45.590 --> 00:15:45.600 align:start position:0% and the I have all products related with 00:15:45.600 --> 00:15:47.670 align:start position:0% and the I have all products related with the. 00:15:47.670 --> 00:15:47.680 align:start position:0% the. 00:15:47.680 --> 00:15:51.590 align:start position:0% the. So<00:15:48.160><c> basically</c><00:15:48.639><c> now</c><00:15:48.880><c> we</c><00:15:49.120><c> have</c><00:15:50.000><c> implemented</c> 00:15:51.590 --> 00:15:51.600 align:start position:0% So basically now we have implemented 00:15:51.600 --> 00:15:53.189 align:start position:0% So basically now we have implemented um 00:15:53.189 --> 00:15:53.199 align:start position:0% um 00:15:53.199 --> 00:15:59.110 align:start position:0% um the<00:15:53.600><c> search</c><00:15:54.240><c> with</c><00:15:55.279><c> s</c><00:15:55.839><c> with</c><00:15:56.800><c> success</c> 00:15:59.110 --> 00:15:59.120 align:start position:0% the search with s with success 00:15:59.120 --> 00:16:05.590 align:start position:0% the search with s with success uh<00:15:59.360><c> but</c><00:16:00.639><c> I'm</c><00:16:00.959><c> not</c><00:16:02.320><c> satisfied</c><00:16:03.040><c> yet</c><00:16:03.519><c> because</c><00:16:04.079><c> oh</c> 00:16:05.590 --> 00:16:05.600 align:start position:0% uh but I'm not satisfied yet because oh 00:16:05.600 --> 00:16:09.749 align:start position:0% uh but I'm not satisfied yet because oh snowboard<00:16:06.399><c> let's</c><00:16:06.720><c> see</c><00:16:06.959><c> it's</c><00:16:07.279><c> it's</c><00:16:07.680><c> working</c> 00:16:09.749 --> 00:16:09.759 align:start position:0% snowboard let's see it's it's working 00:16:09.759 --> 00:16:11.829 align:start position:0% snowboard let's see it's it's working snowboard. 00:16:11.829 --> 00:16:11.839 align:start position:0% snowboard. 00:16:11.839 --> 00:16:14.629 align:start position:0% snowboard. Yeah<00:16:12.480><c> all</c><00:16:12.720><c> products</c><00:16:13.199><c> related</c><00:16:13.920><c> with</c> 00:16:14.629 --> 00:16:14.639 align:start position:0% Yeah all products related with 00:16:14.639 --> 00:16:16.870 align:start position:0% Yeah all products related with snowboard. 00:16:16.870 --> 00:16:16.880 align:start position:0% snowboard. 00:16:16.880 --> 00:16:19.990 align:start position:0% snowboard. It's<00:16:17.199><c> right.</c><00:16:18.079><c> So,</c> 00:16:19.990 --> 00:16:20.000 align:start position:0% It's right. So, 00:16:20.000 --> 00:16:22.710 align:start position:0% It's right. So, uh<00:16:20.160><c> I</c><00:16:20.480><c> thought</c><00:16:20.800><c> the</c> 00:16:22.710 --> 00:16:22.720 align:start position:0% uh I thought the 00:16:22.720 --> 00:16:26.949 align:start position:0% uh I thought the it's<00:16:23.680><c> going</c><00:16:24.000><c> to</c><00:16:25.440><c> for</c><00:16:25.600><c> example</c><00:16:26.320><c> is</c><00:16:26.480><c> just</c><00:16:26.639><c> the</c> 00:16:26.949 --> 00:16:26.959 align:start position:0% it's going to for example is just the 00:16:26.959 --> 00:16:29.910 align:start position:0% it's going to for example is just the last<00:16:27.199><c> word.</c><00:16:27.839><c> I</c><00:16:28.079><c> thought</c><00:16:28.320><c> that</c><00:16:28.800><c> maybe</c><00:16:29.519><c> with</c> 00:16:29.910 --> 00:16:29.920 align:start position:0% last word. I thought that maybe with 00:16:29.920 --> 00:16:33.910 align:start position:0% last word. I thought that maybe with this<00:16:30.800><c> symbol</c><00:16:32.160><c> it</c><00:16:32.399><c> could</c> 00:16:33.910 --> 00:16:33.920 align:start position:0% this symbol it could 00:16:33.920 --> 00:16:37.829 align:start position:0% this symbol it could um<00:16:35.360><c> I</c><00:16:36.320><c> wouldn't</c><00:16:36.720><c> be</c><00:16:36.880><c> able</c><00:16:37.040><c> to</c><00:16:37.279><c> find</c><00:16:37.519><c> the</c> 00:16:37.829 --> 00:16:37.839 align:start position:0% um I wouldn't be able to find the 00:16:37.839 --> 00:16:41.350 align:start position:0% um I wouldn't be able to find the products<00:16:38.240><c> that</c><00:16:39.040><c> doesn't</c> 00:16:41.350 --> 00:16:41.360 align:start position:0% products that doesn't 00:16:41.360 --> 00:16:44.629 align:start position:0% products that doesn't the<00:16:41.680><c> products</c><00:16:42.000><c> that</c><00:16:42.560><c> don't</c><00:16:43.040><c> don't</c><00:16:43.440><c> start</c><00:16:43.920><c> with</c> 00:16:44.629 --> 00:16:44.639 align:start position:0% the products that don't don't start with 00:16:44.639 --> 00:16:46.150 align:start position:0% the products that don't don't start with snowboard. 00:16:46.150 --> 00:16:46.160 align:start position:0% snowboard. 00:16:46.160 --> 00:16:50.470 align:start position:0% snowboard. Uh,<00:16:47.120><c> okay.</c><00:16:47.759><c> It's</c><00:16:48.160><c> working.</c><00:16:49.120><c> So,</c><00:16:49.680><c> that</c><00:16:50.000><c> was</c><00:16:50.240><c> the</c> 00:16:50.470 --> 00:16:50.480 align:start position:0% Uh, okay. It's working. So, that was the 00:16:50.480 --> 00:16:54.710 align:start position:0% Uh, okay. It's working. So, that was the video<00:16:50.720><c> for</c><00:16:51.040><c> today</c><00:16:52.240><c> and</c><00:16:52.560><c> I</c><00:16:53.360><c> hope</c><00:16:53.600><c> you</c><00:16:53.759><c> enjoy.</c> 00:16:54.710 --> 00:16:54.720 align:start position:0% video for today and I hope you enjoy. 00:16:54.720 --> 00:16:57.990 align:start position:0% video for today and I hope you enjoy. Let<00:16:54.959><c> a</c><00:16:55.199><c> like</c><00:16:55.839><c> a</c><00:16:56.160><c> comment</c><00:16:56.560><c> below</c><00:16:57.120><c> and</c><00:16:57.440><c> share</c><00:16:57.680><c> the</c> 00:16:57.990 --> 00:16:58.000 align:start position:0% Let a like a comment below and share the 00:16:58.000 --> 00:17:00.230 align:start position:0% Let a like a comment below and share the video<00:16:58.639><c> and</c><00:16:59.040><c> subscribe</c><00:16:59.440><c> in</c><00:16:59.680><c> the</c><00:16:59.920><c> channel</c> 00:17:00.230 --> 00:17:00.240 align:start position:0% video and subscribe in the channel 00:17:00.240 --> 00:17:03.910 align:start position:0% video and subscribe in the channel please.<00:17:01.040><c> I'm</c><00:17:01.360><c> doing</c><00:17:01.759><c> this</c><00:17:02.160><c> series</c><00:17:02.480><c> of</c><00:17:02.880><c> videos</c> 00:17:03.910 --> 00:17:03.920 align:start position:0% please. I'm doing this series of videos 00:17:03.920 --> 00:17:07.429 align:start position:0% please. I'm doing this series of videos teaching<00:17:04.480><c> how</c><00:17:04.799><c> you</c><00:17:05.039><c> can</c><00:17:05.280><c> develop</c><00:17:05.679><c> in</c><00:17:06.799><c> Shopify</c> 00:17:07.429 --> 00:17:07.439 align:start position:0% teaching how you can develop in Shopify 00:17:07.439 --> 00:17:11.110 align:start position:0% teaching how you can develop in Shopify app<00:17:08.400><c> and</c><00:17:09.039><c> I</c><00:17:09.600><c> I'm</c><00:17:10.079><c> receiving</c><00:17:10.559><c> a</c><00:17:10.799><c> lot</c><00:17:10.959><c> of</c> 00:17:11.110 --> 00:17:11.120 align:start position:0% app and I I'm receiving a lot of 00:17:11.120 --> 00:17:13.429 align:start position:0% app and I I'm receiving a lot of comments<00:17:11.600><c> saying</c><00:17:12.160><c> that</c><00:17:12.640><c> I</c><00:17:12.880><c> need</c><00:17:12.959><c> to</c><00:17:13.199><c> keep</c> 00:17:13.429 --> 00:17:13.439 align:start position:0% comments saying that I need to keep 00:17:13.439 --> 00:17:15.669 align:start position:0% comments saying that I need to keep going.<00:17:13.919><c> So,</c><00:17:14.160><c> I'm</c><00:17:14.400><c> really</c><00:17:14.720><c> happy</c><00:17:14.959><c> with</c><00:17:15.199><c> that.</c> 00:17:15.669 --> 00:17:15.679 align:start position:0% going. So, I'm really happy with that. 00:17:15.679 --> 00:17:20.079 align:start position:0% going. So, I'm really happy with that. So<00:17:16.959><c> that's</c><00:17:17.199><c> all</c><00:17:17.520><c> for</c><00:17:17.679><c> today.</c>