Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
8b22dfd8
Commit
8b22dfd8
authored
Dec 15, 2020
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#40821 【TECSS Web 1.9.2.6】「or」「(」「半角スペース」で検索した時の結果が統一されていない
parent
5aa0e913
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
abvw/js/contentsearch.js
+4
-5
abvw/js/header.js
+5
-7
No files found.
abvw/js/contentsearch.js
View file @
8b22dfd8
...
...
@@ -1081,6 +1081,9 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
}
else
{
//myRegExpArr[0] = new RegExp(myArray[0]);
myQuery
=
'true'
;
if
(
myArray
[
0
]
==
"OR"
||
myArray
[
0
]
==
"or"
||
myArray
[
0
]
==
"Or"
||
myArray
[
0
]
==
"oR"
){
myQuery
=
' || '
;
}
}
for
(
var
i
=
1
;
i
<
myArray
.
length
;
i
++
){
if
(
myArray
[
i
]
==
"OR"
||
myArray
[
i
]
==
"or"
||
myArray
[
i
]
==
"Or"
||
myArray
[
i
]
==
"oR"
){
...
...
@@ -1141,11 +1144,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
}
}
catch
(
error
){
if
(
searchText
.
length
===
0
||
!
searchText
.
trim
()){
searchText
=
"invaildsearchtextzeroresultfoundEmpty"
;
}
else
{
searchText
=
"invaildsearchtextzeroresultfound"
;
}
searchText
=
"invaildsearchtextzeroresultfound"
;
}
}
if
(
count
>
5
){
...
...
abvw/js/header.js
View file @
8b22dfd8
...
...
@@ -308,7 +308,10 @@ HEADER.searchHeaderButtonFunction = function(){
}
}
else
{
//myRegExpArr[0] = new RegExp(myArray[0]);
myQuery
=
'true'
;
myQuery
=
'true'
;
if
(
myArray
[
0
]
==
"OR"
||
myArray
[
0
]
==
"or"
||
myArray
[
0
]
==
"Or"
||
myArray
[
0
]
==
"oR"
){
myQuery
=
' || '
;
}
}
for
(
var
i
=
1
;
i
<
myArray
.
length
;
i
++
){
if
(
myArray
[
i
]
==
"OR"
||
myArray
[
i
]
==
"or"
||
myArray
[
i
]
==
"Or"
||
myArray
[
i
]
==
"oR"
){
...
...
@@ -386,12 +389,7 @@ HEADER.searchHeaderButtonFunction = function(){
return
;
}
if
(
searchText
.
length
===
0
||
!
searchText
.
trim
()){
ClientData
.
searchCond_searchText
(
"invaildsearchtextzeroresultfoundEmpty"
);
}
else
{
ClientData
.
searchCond_searchText
(
"invaildsearchtextzeroresultfound"
);
}
ClientData
.
searchCond_searchText
(
"invaildsearchtextzeroresultfound"
);
ClientData
.
searchCond_searchDivision
(
searchDivision
);
ClientData
.
searchCond_searchText_Dummy
(
searchText
);
//window.location = COMMON.ScreenIds.ContentSearch;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment