- Patch #10982 by TDobes: usability improvement: changed the link in search.module watchdog entries from "view results" to "results". This better matches watchdog entries from other modules.
parent
1a91e6e1bc
commit
4a6e2258ba
|
|
@ -376,7 +376,7 @@ function search_view() {
|
|||
// Only perform search if there is non-whitespace search term:
|
||||
if (trim($keys)) {
|
||||
// Log the search keys:
|
||||
watchdog('search', t('Search: %keys.', array('%keys' => "<em>$keys</em>")), l(t('view results'), 'search', NULL, 'keys='. urlencode($keys)));
|
||||
watchdog('search', t('Search: %keys.', array('%keys' => "<em>$keys</em>")), l(t('results'), 'search', NULL, 'keys='. urlencode($keys)));
|
||||
|
||||
// Collect the search results:
|
||||
$results = search_data($keys);
|
||||
|
|
|
|||
|
|
@ -376,7 +376,7 @@ function search_view() {
|
|||
// Only perform search if there is non-whitespace search term:
|
||||
if (trim($keys)) {
|
||||
// Log the search keys:
|
||||
watchdog('search', t('Search: %keys.', array('%keys' => "<em>$keys</em>")), l(t('view results'), 'search', NULL, 'keys='. urlencode($keys)));
|
||||
watchdog('search', t('Search: %keys.', array('%keys' => "<em>$keys</em>")), l(t('results'), 'search', NULL, 'keys='. urlencode($keys)));
|
||||
|
||||
// Collect the search results:
|
||||
$results = search_data($keys);
|
||||
|
|
|
|||
Loading…
Reference in New Issue