|
|
| | Author: | jedvii | Posted: | Feb 7, 2022 20:27 | Subject: | Brickstore: extra spaces on some part names | Viewed: | 92 times | Topic: | General | |
|
| for some reason, Brickstore has some parts with an extra space in the name when
I download to excel. Some examples would be:
Technic, Axle 4L has 1 extra space between Axle and 4L
Wheel 8mm D. x 6mm has 1 extra space between Wheel and 8mm
Bar 4L (Lightsaber Blade / Wand) has 1 extra space after Bar
Wedge, Plate 2 x 2 Cut Corner has 1 extra space after 2 x 2
String, Cord Thin 50cm for some reason has 3 extra spaces between Thin and 50cm
this is only a few of the many instances I've come across.
Brickstock had this issue the entire time I used them. But I switched and noticed
that Brickstore did not have this issue. when looking directly at the part
pages, there's no extra spaces in the names there. Nor do I see this when
downloading the catalog from Bricklink. I did notice that the description of
the item in the "info" box does NOT have the extra space.
Anyone know what the deal with the extra spaces are?
-jed
|
|
|
| | | | | |
| | | | Author: | qwertyboy | Posted: | Feb 7, 2022 21:20 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 25 times | Topic: | General | |
|
| In General, jedvii writes:
| for some reason, Brickstore has some parts with an extra space in the name when
I download to excel. Some examples would be:
Technic, Axle 4L has 1 extra space between Axle and 4L
Wheel 8mm D. x 6mm has 1 extra space between Wheel and 8mm
Bar 4L (Lightsaber Blade / Wand) has 1 extra space after Bar
Wedge, Plate 2 x 2 Cut Corner has 1 extra space after 2 x 2
String, Cord Thin 50cm for some reason has 3 extra spaces between Thin and 50cm
this is only a few of the many instances I've come across.
Brickstock had this issue the entire time I used them. But I switched and noticed
that Brickstore did not have this issue. when looking directly at the part
pages, there's no extra spaces in the names there. Nor do I see this when
downloading the catalog from Bricklink. I did notice that the description of
the item in the "info" box does NOT have the extra space.
Anyone know what the deal with the extra spaces are?
|
It makes for a better alphabetic sort. "Axle 4L" with 2 spaces sorts before
"Axle 16L".
Niek.
|
|
|
| | | | | | | | | |
| | | | | | Author: | qwertyboy | Posted: | Feb 7, 2022 21:29 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 33 times | Topic: | General | |
|
| In General, qwertyboy writes:
| In General, jedvii writes:
| for some reason, Brickstore has some parts with an extra space in the name when
I download to excel. Some examples would be:
Technic, Axle 4L has 1 extra space between Axle and 4L
Wheel 8mm D. x 6mm has 1 extra space between Wheel and 8mm
Bar 4L (Lightsaber Blade / Wand) has 1 extra space after Bar
Wedge, Plate 2 x 2 Cut Corner has 1 extra space after 2 x 2
String, Cord Thin 50cm for some reason has 3 extra spaces between Thin and 50cm
this is only a few of the many instances I've come across.
Brickstock had this issue the entire time I used them. But I switched and noticed
that Brickstore did not have this issue. when looking directly at the part
pages, there's no extra spaces in the names there. Nor do I see this when
downloading the catalog from Bricklink. I did notice that the description of
the item in the "info" box does NOT have the extra space.
Anyone know what the deal with the extra spaces are?
|
It makes for a better alphabetic sort. "Axle 4L" with 2 spaces sorts before
"Axle 16L".
|
Forgot to mention - the double space gets rendered as a single space by your
browser, so it "disappears" courtesy of your browser.
Niek
|
|
|
| | | | | | | | | | |
| | | | | | Author: | jedvii | Posted: | Feb 8, 2022 10:28 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 28 times | Topic: | General | |
|
| In General, Admin_Russell writes:
| In General, jedvii writes:
| for some reason, Brickstore has some parts with an extra space in the name when
I download to excel. Some examples would be:
Technic, Axle 4L has 1 extra space between Axle and 4L
Wheel 8mm D. x 6mm has 1 extra space between Wheel and 8mm
Bar 4L (Lightsaber Blade / Wand) has 1 extra space after Bar
Wedge, Plate 2 x 2 Cut Corner has 1 extra space after 2 x 2
String, Cord Thin 50cm for some reason has 3 extra spaces between Thin and 50cm
this is only a few of the many instances I've come across.
Brickstock had this issue the entire time I used them. But I switched and noticed
that Brickstore did not have this issue. when looking directly at the part
pages, there's no extra spaces in the names there. Nor do I see this when
downloading the catalog from Bricklink. I did notice that the description of
the item in the "info" box does NOT have the extra space.
Anyone know what the deal with the extra spaces are?
-jed
|
Extra spaces are inserted by catalog admins to assist the sort order on BrickLink.
|
makes sense, but why after the wedge, plate 2 x 2?
|
|
|
| | | | | | | | | | | | | |
| | | | | | | | Author: | jedvii | Posted: | Feb 8, 2022 11:01 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 29 times | Topic: | General | |
|
| In General, jedvii writes:
| In General, Admin_Russell writes:
| In General, jedvii writes:
| for some reason, Brickstore has some parts with an extra space in the name when
I download to excel. Some examples would be:
Technic, Axle 4L has 1 extra space between Axle and 4L
Wheel 8mm D. x 6mm has 1 extra space between Wheel and 8mm
Bar 4L (Lightsaber Blade / Wand) has 1 extra space after Bar
Wedge, Plate 2 x 2 Cut Corner has 1 extra space after 2 x 2
String, Cord Thin 50cm for some reason has 3 extra spaces between Thin and 50cm
this is only a few of the many instances I've come across.
Brickstock had this issue the entire time I used them. But I switched and noticed
that Brickstore did not have this issue. when looking directly at the part
pages, there's no extra spaces in the names there. Nor do I see this when
downloading the catalog from Bricklink. I did notice that the description of
the item in the "info" box does NOT have the extra space.
Anyone know what the deal with the extra spaces are?
-jed
|
Extra spaces are inserted by catalog admins to assist the sort order on BrickLink.
|
makes sense, but why after the wedge, plate 2 x 2?
|
and why not after wedge in wedge 6 x 2 Left to assist sorts on wedge 12 x 3 Left
|
|
|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | Author: | 1001bricks | Posted: | Feb 8, 2022 11:12 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 27 times | Topic: | General | |
|
| | | | Extra spaces are inserted by catalog admins to assist the sort order on BrickLink.
|
makes sense, but why after the wedge, plate 2 x 2?
|
and why not after wedge in wedge 6 x 2 Left to assist sorts on wedge 12 x 3 Left
|
Because nobody and nothing are perfect?
|
|
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | Author: | jedvii | Posted: | Feb 8, 2022 20:12 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 22 times | Topic: | General | |
|
| In General, 1001bricks writes:
| | | | Extra spaces are inserted by catalog admins to assist the sort order on BrickLink.
|
makes sense, but why after the wedge, plate 2 x 2?
|
and why not after wedge in wedge 6 x 2 Left to assist sorts on wedge 12 x 3 Left
|
Because nobody and nothing are perfect?
|
Hopefully, we will strive towards it. I would like to hope that Bricklink is
doing its best to get there.
-jed
|
|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | Author: | randyf | Posted: | Feb 8, 2022 11:55 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 26 times | Topic: | General | |
|
| In General, jedvii writes:
| In General, jedvii writes:
| In General, Admin_Russell writes:
| In General, jedvii writes:
| for some reason, Brickstore has some parts with an extra space in the name when
I download to excel. Some examples would be:
Technic, Axle 4L has 1 extra space between Axle and 4L
Wheel 8mm D. x 6mm has 1 extra space between Wheel and 8mm
Bar 4L (Lightsaber Blade / Wand) has 1 extra space after Bar
Wedge, Plate 2 x 2 Cut Corner has 1 extra space after 2 x 2
String, Cord Thin 50cm for some reason has 3 extra spaces between Thin and 50cm
this is only a few of the many instances I've come across.
Brickstock had this issue the entire time I used them. But I switched and noticed
that Brickstore did not have this issue. when looking directly at the part
pages, there's no extra spaces in the names there. Nor do I see this when
downloading the catalog from Bricklink. I did notice that the description of
the item in the "info" box does NOT have the extra space.
Anyone know what the deal with the extra spaces are?
-jed
|
Extra spaces are inserted by catalog admins to assist the sort order on BrickLink.
|
makes sense, but why after the wedge, plate 2 x 2?
|
and why not after wedge in wedge 6 x 2 Left to assist sorts on wedge 12 x 3 Left
|
With two numbers, we always want the smaller number coming first ("6 x 2" _before_
"12 x 3"), so those don't need the extra spaces as text sorts handle that
just fine. With only one number, we want the smaller numbers _also_ coming first
("6L" _before_ "12L"), so those need the extra space to allow the text sort to
keep them in ascending _numerical_ order.
|
|
|
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | Author: | jedvii | Posted: | Feb 10, 2022 10:47 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 27 times | Topic: | General | |
|
| In General, randyf writes:
| In General, jedvii writes:
| In General, jedvii writes:
| In General, Admin_Russell writes:
| In General, jedvii writes:
| for some reason, Brickstore has some parts with an extra space in the name when
I download to excel. Some examples would be:
Technic, Axle 4L has 1 extra space between Axle and 4L
Wheel 8mm D. x 6mm has 1 extra space between Wheel and 8mm
Bar 4L (Lightsaber Blade / Wand) has 1 extra space after Bar
Wedge, Plate 2 x 2 Cut Corner has 1 extra space after 2 x 2
String, Cord Thin 50cm for some reason has 3 extra spaces between Thin and 50cm
this is only a few of the many instances I've come across.
Brickstock had this issue the entire time I used them. But I switched and noticed
that Brickstore did not have this issue. when looking directly at the part
pages, there's no extra spaces in the names there. Nor do I see this when
downloading the catalog from Bricklink. I did notice that the description of
the item in the "info" box does NOT have the extra space.
Anyone know what the deal with the extra spaces are?
-jed
|
Extra spaces are inserted by catalog admins to assist the sort order on BrickLink.
|
makes sense, but why after the wedge, plate 2 x 2?
|
and why not after wedge in wedge 6 x 2 Left to assist sorts on wedge 12 x 3 Left
|
With two numbers, we always want the smaller number coming first ("6 x 2" _before_
"12 x 3"), so those don't need the extra spaces as text sorts handle that
just fine. With only one number, we want the smaller numbers _also_ coming first
("6L" _before_ "12L"), so those need the extra space to allow the text sort to
keep them in ascending _numerical_ order.
|
then would you want spaces for wedge plate so that wedge, plate 2 x 2 Left comes
before wedge, plate 12 x 6 left? And why the space after the 2 x 2 in the wedge,
plate 2 x 2 cut corner?
|
|
|
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | Author: | 1001bricks | Posted: | Feb 10, 2022 10:58 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 28 times | Topic: | General | |
|
| | | With two numbers, we always want the smaller number coming first ("6 x 2" _before_
"12 x 3"), so those don't need the extra spaces as text sorts handle that
just fine. With only one number, we want the smaller numbers _also_ coming first
("6L" _before_ "12L"), so those need the extra space to allow the text sort to
keep them in ascending _numerical_ order.
|
then would you want spaces for wedge plate so that wedge, plate 2 x 2 Left comes
before wedge, plate 12 x 6 left? And why the space after the 2 x 2 in the wedge,
plate 2 x 2 cut corner?
|
And is there a Life after?
|
|
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | Author: | randyf | Posted: | Feb 10, 2022 18:07 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 23 times | Topic: | General | |
|
| In General, jedvii writes:
| In General, randyf writes:
| In General, jedvii writes:
| In General, jedvii writes:
| In General, Admin_Russell writes:
| In General, jedvii writes:
| for some reason, Brickstore has some parts with an extra space in the name when
I download to excel. Some examples would be:
Technic, Axle 4L has 1 extra space between Axle and 4L
Wheel 8mm D. x 6mm has 1 extra space between Wheel and 8mm
Bar 4L (Lightsaber Blade / Wand) has 1 extra space after Bar
Wedge, Plate 2 x 2 Cut Corner has 1 extra space after 2 x 2
String, Cord Thin 50cm for some reason has 3 extra spaces between Thin and 50cm
this is only a few of the many instances I've come across.
Brickstock had this issue the entire time I used them. But I switched and noticed
that Brickstore did not have this issue. when looking directly at the part
pages, there's no extra spaces in the names there. Nor do I see this when
downloading the catalog from Bricklink. I did notice that the description of
the item in the "info" box does NOT have the extra space.
Anyone know what the deal with the extra spaces are?
-jed
|
Extra spaces are inserted by catalog admins to assist the sort order on BrickLink.
|
makes sense, but why after the wedge, plate 2 x 2?
|
and why not after wedge in wedge 6 x 2 Left to assist sorts on wedge 12 x 3 Left
|
With two numbers, we always want the smaller number coming first ("6 x 2" _before_
"12 x 3"), so those don't need the extra spaces as text sorts handle that
just fine. With only one number, we want the smaller numbers _also_ coming first
("6L" _before_ "12L"), so those need the extra space to allow the text sort to
keep them in ascending _numerical_ order.
|
then would you want spaces for wedge plate so that wedge, plate 2 x 2 Left comes
before wedge, plate 12 x 6 left? And why the space after the 2 x 2 in the wedge,
plate 2 x 2 cut corner?
|
The "Wedge, Plate" category seems to sort the way I would expect it to as it
is right now. "Wedge, Plate 2 x 2 Left" comes way before "Wedge, Plate 12 x
6 Left" in the list.
https://www.bricklink.com/catalogListOld.asp?v=1&adminEdit=N&pg=1&catString=583&catType=P
Do you see something different? If so, please let me know.
The extra spaces on "Wedge, Plate 2 x 2 Cut Corner", "Wedge, Plate 2 x 2 Left",
and "Wedge, Plate 2 x 2 Right" are used to force a specific sorting that we want.
Instead of the list without the spaces seen in the first image, we are forcing
the list with spaces seen in the second image.
|
|
|
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | Author: | randyf | Posted: | Feb 10, 2022 18:09 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 24 times | Topic: | General | |
|
| In General, randyf writes:
| In General, jedvii writes:
| In General, randyf writes:
| In General, jedvii writes:
| In General, jedvii writes:
| In General, Admin_Russell writes:
| In General, jedvii writes:
| for some reason, Brickstore has some parts with an extra space in the name when
I download to excel. Some examples would be:
Technic, Axle 4L has 1 extra space between Axle and 4L
Wheel 8mm D. x 6mm has 1 extra space between Wheel and 8mm
Bar 4L (Lightsaber Blade / Wand) has 1 extra space after Bar
Wedge, Plate 2 x 2 Cut Corner has 1 extra space after 2 x 2
String, Cord Thin 50cm for some reason has 3 extra spaces between Thin and 50cm
this is only a few of the many instances I've come across.
Brickstock had this issue the entire time I used them. But I switched and noticed
that Brickstore did not have this issue. when looking directly at the part
pages, there's no extra spaces in the names there. Nor do I see this when
downloading the catalog from Bricklink. I did notice that the description of
the item in the "info" box does NOT have the extra space.
Anyone know what the deal with the extra spaces are?
-jed
|
Extra spaces are inserted by catalog admins to assist the sort order on BrickLink.
|
makes sense, but why after the wedge, plate 2 x 2?
|
and why not after wedge in wedge 6 x 2 Left to assist sorts on wedge 12 x 3 Left
|
With two numbers, we always want the smaller number coming first ("6 x 2" _before_
"12 x 3"), so those don't need the extra spaces as text sorts handle that
just fine. With only one number, we want the smaller numbers _also_ coming first
("6L" _before_ "12L"), so those need the extra space to allow the text sort to
keep them in ascending _numerical_ order.
|
then would you want spaces for wedge plate so that wedge, plate 2 x 2 Left comes
before wedge, plate 12 x 6 left? And why the space after the 2 x 2 in the wedge,
plate 2 x 2 cut corner?
|
The "Wedge, Plate" category seems to sort the way I would expect it to as it
is right now. "Wedge, Plate 2 x 2 Left" comes way before "Wedge, Plate 12 x
6 Left" in the list.
https://www.bricklink.com/catalogListOld.asp?v=1&adminEdit=N&pg=1&catString=583&catType=P
Do you see something different? If so, please let me know.
The extra spaces on "Wedge, Plate 2 x 2 Cut Corner", "Wedge, Plate 2 x 2 Left",
and "Wedge, Plate 2 x 2 Right" are used to force a specific sorting that we want.
Instead of the list without the spaces seen in the first image, we are forcing
the list with spaces seen in the second image.
|
And obviously, the forum switched the order of the images, so the last sentence
should now read "Instead of the list without the spaces seen in the _second_
image, we are forcing the list with spaces seen in the _first_ image."
|
|
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | Author: | SylvainLS | Posted: | Feb 10, 2022 18:34 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 22 times | Topic: | General | |
|
| In General, randyf writes:
| […]
And obviously, the forum switched the order of the images, […]
|
I really think that there’s a bit of code that looks for words like “first image”
and then shuffles the images.
Otherwise, the order is untouched… but as you don’t depend on it in the message,
it’s not important.
|
|
| | | | | |
| | | | Author: | sandman | Posted: | Feb 8, 2022 15:47 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 26 times | Topic: | General | |
|
| Just FYI: the next BrickStore release will remove ANY double white-space in BrickLink
item/category/color/etc. names to not mess with filtering.
Sorting is not an issue here, because BrickStore isn't using a primitive
text sort algorithm, but scans for numbers and compares them separately.
https://github.com/rgriebl/brickstore/issues/522
cu
Robert
|
|
| | | | | | | | | |
| | | | | | Author: | jedvii | Posted: | Feb 8, 2022 20:11 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 33 times | Topic: | General | |
|
| In General, sandman writes:
| Just FYI: the next BrickStore release will remove ANY double white-space in BrickLink
item/category/color/etc. names to not mess with filtering.
Sorting is not an issue here, because BrickStore isn't using a primitive
text sort algorithm, but scans for numbers and compares them separately.
https://github.com/rgriebl/brickstore/issues/522
cu
Robert
|
that will be nice. thanks for the info
|
|
| | | | | | | | | |
| | | | | | Author: | peregrinator | Posted: | Feb 8, 2022 20:19 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 31 times | Topic: | General | |
|
| What would be really cool is if BrickStore could sort on volume
In General, sandman writes:
| Just FYI: the next BrickStore release will remove ANY double white-space in BrickLink
item/category/color/etc. names to not mess with filtering.
Sorting is not an issue here, because BrickStore isn't using a primitive
text sort algorithm, but scans for numbers and compares them separately.
https://github.com/rgriebl/brickstore/issues/522
cu
Robert
|
|
|
| | | | | | | | | | | | | |
| | | | | | | | Author: | jedvii | Posted: | Feb 9, 2022 10:17 | Subject: | Re: Brickstore: extra spaces on some part names | Viewed: | 27 times | Topic: | General | |
|
| In General, peregrinator writes:
| What would be really cool is if BrickStore could sort on volume
In General, sandman writes:
| Just FYI: the next BrickStore release will remove ANY double white-space in BrickLink
item/category/color/etc. names to not mess with filtering.
Sorting is not an issue here, because BrickStore isn't using a primitive
text sort algorithm, but scans for numbers and compares them separately.
https://github.com/rgriebl/brickstore/issues/522
cu
Robert
|
|
Volume would be awesome. I would love the ability to have columns for every
piece of info in the price guide window. So obviously, the information is available,
but just not as a column. Also, it would be nice to have price guide info for
only a specific currency.
-jed
|
|
|
|
|
|