Overview
Comment: | Fix redirect after having found a single user in quicksearch |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
41b2924cc0cebd3d04d0af1f87e51e79 |
User & Date: | bohwaz on 2020-12-08 18:59:53 |
Other Links: | manifest | tags |
Context
2020-12-08
| ||
19:04 | Fix service order in subscription check-in: 981308eb4b user: bohwaz tags: trunk, stable | |
18:59 | Fix redirect after having found a single user in quicksearch check-in: 41b2924cc0 user: bohwaz tags: trunk, stable | |
18:58 | Fix lists and counts for fees and services with no duration and no period set check-in: cfb30a9d18 user: bohwaz tags: trunk, stable | |
Changes
Modified src/www/admin/common/search.php from [58a2469528] to [f997b1b1c1].
︙ | ︙ | |||
87 88 89 90 91 92 93 | $sql_query = $sql; } } if (null !== $result) { if (count($result) == 1 && $text_query !== '' && $target === 'membres') { | | | 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | $sql_query = $sql; } } if (null !== $result) { if (count($result) == 1 && $text_query !== '' && $target === 'membres') { Utils::redirect(ADMIN_URL . 'membres/fiche.php?id=' . (int)$result[0]->_user_id); } if (f('save') && !$form->hasErrors()) { if (!$sql_query) { $type = Recherche::TYPE_JSON; } |
︙ | ︙ |