Strange language list in 1.60

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 13 ans
To see strange behavior do this:
1) Add new language at page /administration/languages.aspx.
2) Edit just created language and uncheck option published.
3) After this you can`t see your language in /administration/languages.aspx list but this language exist in base.

I think that it will be right to show unpublished languages in languages list. Also there is Published column witch determinate language status.
Il y a 13 ans
It works fine. All uppublished languages are displayed in admin area.
Il y a 13 ans
This is stored proc in base:


ALTER PROCEDURE [dbo].[Nop_LanguageLoadAll]
  @ShowHidden bit = 0
AS
BEGIN
  SET NOCOUNT ON
  SELECT *
  FROM [Nop_Language]
  WHERE (Published = 1 or @ShowHidden = 1)
  order by DisplayOrder
END

so that i can`t see unpublished languages. Where  this functionality use? For what declared @showhidden?

Thank you for your answer.
Il y a 13 ans
It used in user inetface.
If delete WHERE (Published = 1 or @ShowHidden = 1) in admin you can see it too.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.