git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 3.0.1
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
reader
/
ui
/
GuiReaderSearchByTagPanel.java
diff --git
a/src/be/nikiroo/fanfix/reader/ui/GuiReaderSearchByTagPanel.java
b/src/be/nikiroo/fanfix/reader/ui/GuiReaderSearchByTagPanel.java
index a654d167b35bb7fc201e68cdb46c5897c4420501..260fc481cba8dd5bc2eb0c3f6d035ebb7ece8a1b 100644
(file)
--- a/
src/be/nikiroo/fanfix/reader/ui/GuiReaderSearchByTagPanel.java
+++ b/
src/be/nikiroo/fanfix/reader/ui/GuiReaderSearchByTagPanel.java
@@
-49,7
+49,7
@@
public class GuiReaderSearchByTagPanel extends JPanel {
this.waitable = waitable;
combos = new ArrayList<JComboBox>();
this.waitable = waitable;
combos = new ArrayList<JComboBox>();
- page =
1
;
+ page =
0
;
maxPage = -1;
tagBars = new JPanel();
maxPage = -1;
tagBars = new JPanel();
@@
-69,7
+69,7
@@
public class GuiReaderSearchByTagPanel extends JPanel {
*/
public void setSearchable(BasicSearchable searchable) {
this.searchable = searchable;
*/
public void setSearchable(BasicSearchable searchable) {
this.searchable = searchable;
- page =
1
;
+ page =
0
;
maxPage = -1;
storyItem = 0;
stories = new ArrayList<MetaData>();
maxPage = -1;
storyItem = 0;
stories = new ArrayList<MetaData>();
@@
-298,6
+298,7
@@
public class GuiReaderSearchByTagPanel extends JPanel {
page = 1;
stories = searchable.search(tag, 1);
maxPage = searchable.searchPages(tag);
page = 1;
stories = searchable.search(tag, 1);
maxPage = searchable.searchPages(tag);
+ currentTag = tag;
} catch (IOException e) {
GuiReaderSearchFrame.error(e);
page = 0;
} catch (IOException e) {
GuiReaderSearchFrame.error(e);
page = 0;