Vuetable-2: Specifying Search Fields

Created on 16 Mar 2017  路  4Comments  路  Source: ratiw/vuetable-2

Hi,

I'm currently starting implementing your vuetable-2, and so far, everything works great.
Now, I'm trying to understand how the Bootstrap implementation is working.

Currently, searches are possible on 'name', 'nickname' and or 'email'.
I noticed you're sending a parameter 'filter' with the GET request.
But how does your server know which fields have to be searched ?

(I don't see the fields strings 'name', 'nickname' and 'email' in the GET Params ...)
What am I missing ?

Thanks in advance for your reply,

Johnny Driesen
Belgium

question

Most helpful comment

My bad...
Solution is very well explained in the tutorial.
(https://github.com/ratiw/vuetable-2-tutorial/blob/master/doc/lesson-13.md)

grtz,
Johnny

All 4 comments

My bad...
Solution is very well explained in the tutorial.
(https://github.com/ratiw/vuetable-2-tutorial/blob/master/doc/lesson-13.md)

grtz,
Johnny

I have one more question...
Backend-wise (so, in your API), you're building the strings 'next_page_url' and 'prev_page_url'.

Are these still relevant ?

Thanks in advance for your reply,

Johnny

@jdriesen Sorry, I didn't notice the last question. Can you please open it as a new issue and explain more in detail?

OK. Will do.

Kind regards,
Johnny

Was this page helpful?
0 / 5 - 0 ratings