View Issue Details

IDProjectCategoryView StatusLast Update
0000567WackoWikisearchpublic2024-04-07 04:15
Reporterbrianko Assigned Tobrianko  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.1.x 
Target Version6.1.xFixed in Version6.1.x 
Summary0000567: 'Search in title only' selection should be remembered across search pages
DescriptionCurrently, if the user selects "Search in title only," the selection will be honored. If the user chooses another page from the pager, the selection is forgotten. The setting should be "sticky" while searching.
TagsNo tags attached.

Activities

administrator

2024-04-02 14:57

administrator   ~0001107

diff --git a/src/action/search.php b/src/action/search.php
index 6865157..ff4e4ae 100644
--- a/src/action/search.php
+++ b/src/action/search.php
@@ -146,7 +146,7 @@
         'FROM ' . $prefix . 'page a ' .
         $selector, true);
 
- $pagination = $this->pagination($count['n'], $limit, 'p', ['phrase' => $phrase, 'lang' => $lang]);
+ $pagination = $this->pagination($count['n'], $limit, 'p', ['phrase' => $phrase, 'topic' => 'on', 'lang' => $lang]);
 
     // load search results
     $results = $this->db->load_all(


Not tested.

brianko

2024-04-02 19:39

manager   ~0001108

I can test and will submit a PR...

administrator

2024-04-07 04:15

administrator   ~0001109

https://github.com/WackoWiki/wackowiki/commit/82171a19e70475f6bc8825935cd2ea039f7d2805

Issue History

Date Modified Username Field Change
2024-04-02 00:30 brianko New Issue
2024-04-02 00:30 brianko Status new => assigned
2024-04-02 00:30 brianko Assigned To => brianko
2024-04-02 14:57 administrator Note Added: 0001107
2024-04-02 19:39 brianko Note Added: 0001108
2024-04-07 04:15 administrator Status assigned => resolved
2024-04-07 04:15 administrator Resolution open => fixed
2024-04-07 04:15 administrator Fixed in Version => 6.1.x
2024-04-07 04:15 administrator Target Version 7.0.x => 6.1.x
2024-04-07 04:15 administrator Note Added: 0001109