Is there a way to capture the search value the user entered in a table search field
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start with the table component’s handling of initial_search_value, search_value, and the $search parameter; the issue does not name a source file or test, so locate those entry points in the SQLPage repository. Check whether the user-entered value is exposed in a way that can be passed back as a URL parameter on reload. Done means the search can be preserved across reloads; the issue has had no activity for 303 days.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Below is a sample of my code. I am able to pass in a parameter to set the initial search value for the search bar in a table. But I would like to be able to capture the search value the user entered so when I reload the page, I can set the initial_search_value to the user's search. Any ideas would be greatly appreciated.
P.S. I love SQLPage and I have been able to do just about everything I have wanted.
-- Display the section title
SELECT
'text' AS component,
'Account' AS title;
SELECT
'table' AS component,
'Links:' AS title,
'AcctNbr' AS markdown,
1 AS sort,
$MySearchParm AS initial_search_value,
$search AS search_value,
1 AS search;
select
'[' || a.acctnbr || '](' || 'testchange_account.sql?Sender=Main&AcctNbr=' || a.acctnbr || '&search=' || $search || ')' AS AcctNbr,
a.CompanyName, c.Email
from contacts c
left outer join accounts a
on (c.accountid = a.accountid)
where (email = sqlpage.cookie('Email') or sqlpage.cookie('Email') like '%@kevinreagan.com')
and a.companyname is not null
and a.companyname <> ''
and c.email is not null
and c.email <> ''
order by a.companyname
- Lenguaje dominante
- Rust
- Estrellas
- 2.6k
- Forks
- 175
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 43
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de sqlpage/SQLPage
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
sqlpage/SQLPage#1218 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
There is no convenient way to reproduce issuesPosiblemente ocupada @81reap la tomó hace 26 días. Abiertoenhancement
sqlpage/SQLPage#1566 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Confusing sort interfacePosiblemente ocupada @lovasoa la tomó hace 73 días. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 20/100
sqlpage/SQLPage#1442 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Mutation Testing Results :: Dead Code + Missing TestsQuizá libre de nuevo @81reap la tomó hace 61 días y no hay ningún pull request abierto. Abierto
sqlpage/SQLPage#1396 · 5 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de sqlpage/SQLPage
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
symposium-dev/symposium#530 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
topgrade-rs/topgrade#2540 ·
Los mantenedores suelen responder en 1 día
-
Invalid JSON options for ngram and edge_ngram silently use defaultsPosiblemente ocupada @Tilendlesa la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
noemaforge/vimanam#153 ·
Los mantenedores suelen responder en 1 día