Tags having no results show all articles as tagged

More
12 years 4 months ago #373 by sa
Hi,

We just upgraded CP to 2.0.7 from 2.0.2.

Results that used to say and should say 0 results, now show all possible results (total number of articles) found in the search header.
Also maximum pagination 1-10 is shown, yet no articles are actually listed.

Is this a bug?

I notice there is a field under Config -> General, for "no result article" that is blank at the moment.

Thanks

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #376 by andrea_4g
Never seen CP behave like that.

Since you upgraded from a 2.0.2 the following might apply:
"If you are updating from a version older than 2.0.4 you need to check and possibily correct parameter 'Frontend editing access:'"

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #378 by sa
Frontend editing access is set to Registered.

What values does No Result Article accept? the article id number?

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago - 12 years 4 months ago #383 by andrea_4g

What values does No Result Article accept? the article id number?

Yes, it accepts the numeric id of an article.

About the "phantom" result page, do you see anything strange in the HTML source of the page that can suggest where the problem is coming from? I still have no idea.
Last edit: 12 years 4 months ago by andrea_4g.

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #384 by sa
i think i understand what is happening..correct me if i'm mistaken. in the older version of mod_cpmenu, it would generate links to tags with no instances, and return a "no results" error message.. I had hard coded these url links into a menu. i think in the new version, the tags that have no instances are just not created into links.

i created a test tag, tagged an article with it, got the url from the cp menu, then untagged it, and tried using the url and voila!

problem solved.

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago - 12 years 4 months ago #393 by andrea_4g

I think in the new version, the tags that have no instances are just not created into links.

Yes, you got it right.
Last edit: 12 years 4 months ago by andrea_4g.

Please Log in or Create an account to join the conversation.

Time to create page: 0.169 seconds